For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mark a conversation answered or unanswered

Sets the is_answered flag of a conversation of any kind by hand. It is the only way to set the flag directly — PUT and PATCH ignore it.

The call is idempotent. When the flag changes, a marked_answered or marked_unanswered event is recorded with the staff account the request was made with and the request's audited headers in request_headers; when it already has the requested value, nothing is changed or recorded and the response is the same.

Seller replies and customer messages also move the flag; see Conversation Messages.

post
/conversations/{id}/update-answered-status/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the conversation.

Body

The answered flag of a conversation.

is_answeredbooleanRequired

true when the last word was the seller's, false when the conversation awaits an answer.

Responses
200

The flag now has the requested value.

application/json

The answered flag of a conversation.

is_answeredbooleanRequired

true when the last word was the seller's, false when the conversation awaits an answer.

post/conversations/{id}/update-answered-status/
POST /api/v1/remote/1/conversations/{id}/update-answered-status/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "is_answered": true
}
{
  "is_answered": true
}

Last updated

Was this helpful?