curl -X POST \
/customers/{id}/comment \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"comment": ""
}'
{
"id": "<string>",
"dateTime": "2023-11-07T05:31:56Z",
"type": "commented",
"user": {
"user": {
"firstName": "John",
"lastName": "Doe",
"email": "jsmith@example.com"
},
"deactivated": true,
"avatar": "<string>",
"fullName": "<string>",
"initial": "<string>",
"gravatarUrl": "<string>"
},
"metadata": {},
"pinned": true
}
Add comment
Required permissions:customer:write
curl -X POST \
/customers/{id}/comment \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"comment": ""
}'
{
"id": "<string>",
"dateTime": "2023-11-07T05:31:56Z",
"type": "commented",
"user": {
"user": {
"firstName": "John",
"lastName": "Doe",
"email": "jsmith@example.com"
},
"deactivated": true,
"avatar": "<string>",
"fullName": "<string>",
"initial": "<string>",
"gravatarUrl": "<string>"
},
"metadata": {},
"pinned": true
}
Value for the Authorization header parameter.
Customer identifier
The new Customer resource
Customer resource created
Was this page helpful?