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

Update a conversation

Fully updates a conversation's own fields. datasource and conversation_type must be present.

  • conversation_type cannot change. Sending review or question — even the conversation's current kind — is refused with 406 and conversation_100_8 (Only its author writes a review., or question), and sending message for a review or question with conversation_100_14 (A review cannot be turned into another type.). A private message accepts message. Because a full update requires the field, a review or question cannot be updated with PUT; use PATCH and leave conversation_type out.

  • is_public, is_answered, user and last_message_date are read-only: they are accepted, ignored and returned unchanged. Visibility moves only through approve/ and reject/, the answered flag through update-answered-status/, and last_message_date with the messages themselves; the customer a conversation belongs to cannot be changed.

  • rating and status are not part of this payload. Values sent for them are ignored, and the response does not include them.

  • item_content is the numeric identifier of the content type (product or order item), not its name.

  • The kind and the item it ends up with are checked against each other — a review must stay on an order item, a question on a product, a private message on an order item or nothing. Violations answer conversation_100_5 (A message cannot be about a product.).

  • The item must exist (conversation_100_12) and, when it names a seller, belong to the datasource sent (conversation_100_13); see Conversation Kinds.

Rule violations are answered with 406 and {"non_field_errors": "<message>", "error_code": "<code>"}. No event is recorded for an edit.

put
/conversations/{id}/
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 editable fields of a conversation. is_public, is_answered, rating and status are not editable here: values sent for them are ignored.

userintegerRead-onlyOptional

The identifier of the customer who owns the conversation. Read-only; a value sent is ignored.

datasourceintegerRequired

The identifier of the seller (data source).

subjectstring · max: 500 · nullableOptional

The subject line.

conversation_typestring · enumRequired

The kind of conversation. Only message is accepted; review and question are refused.

Possible values:
item_contentinteger · nullableOptional

The numeric identifier of the content type the conversation is about (the product or the order item content type), or null.

item_idinteger · nullableOptional

The identifier of the item the conversation is about.

last_message_datestring · nullableRead-onlyOptional

When the latest message was posted. Read-only; a value sent is ignored.

extrasobject · nullableOptional

Free-form JSON for extra, integration-specific data.

Responses
200

The updated conversation record.

application/json

The conversation record after an update. Identifiers are returned for related records; rating and status are not included.

idintegerOptional

The conversation identifier.

created_datestring · date-timeOptional

When the conversation was created.

modified_datestring · date-timeOptional

When the conversation was last modified.

subjectstring · nullableOptional

The subject line.

item_idinteger · nullableOptional

The identifier of the item the conversation is about.

last_message_datestring · nullableOptional

When the latest message was posted.

is_publicbooleanOptional

Storefront visibility. Read-only here.

conversation_typestring · enumOptional

The kind of conversation. See Conversation Kinds under Conversations.

  • review — a customer's rated verdict on an order item they bought; moderated
  • question — a customer's question about a product; moderated
  • message — private correspondence between one customer and one seller; never moderated and never listed on the storefront
Possible values:
extrasobject · nullableOptional

Free-form JSON for extra, integration-specific data.

is_answeredbooleanOptional

Whether the last word was the seller's. Read-only here.

userintegerOptional

The identifier of the customer who owns the conversation.

datasourceintegerOptional

The identifier of the seller (data source).

item_contentinteger · nullableOptional

The numeric identifier of the content type the conversation is about.

put/conversations/{id}/
PUT /api/v1/remote/1/conversations/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 121

{
  "datasource": 8,
  "subject": "About your order",
  "conversation_type": "message",
  "item_content": 41,
  "item_id": 90211,
  "extras": {}
}
{
  "id": 5830,
  "created_date": "2026-08-12T09:14:03.098000Z",
  "modified_date": "2026-08-13T08:00:10.512000Z",
  "subject": "Delivery question",
  "item_id": 90211,
  "last_message_date": "2026-08-12T09:14:03.120000Z",
  "is_public": false,
  "conversation_type": "message",
  "extras": {},
  "is_answered": true,
  "user": 1001,
  "datasource": 8,
  "item_content": 41
}

Last updated

Was this helpful?