{
"display_name": "string",
"tag_codes": [
"string"
]
}
const response = await fetch(
"POST /api/v1/customer_documents/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"display_name": "string",
"tag_codes": [
"string"
]
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Customer Document
Update document
Updates the specified document metadata.
POST
/
api
/
v1
/
customer_documents
/
{id}
{
"display_name": "string",
"tag_codes": [
"string"
]
}
const response = await fetch(
"POST /api/v1/customer_documents/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"display_name": "string",
"tag_codes": [
"string"
]
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
Path parameters
string
required
Body parameters
string
string[]
Response body
- 204
- default
{
"display_name": "string",
"tag_codes": [
"string"
]
}
const response = await fetch(
"POST /api/v1/customer_documents/{id}",
{
method: "post",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer {token}`
},
body: JSON.stringify({
"display_name": "string",
"tag_codes": [
"string"
]
})
}
);
{
"errors": [
{
"code": "string",
"deprecated": "boolean",
"message": "string",
"will_be_deprecated": "boolean"
}
]
}
⌘I