Conversation Messages
A single endpoint for appending a message to an existing conversation — a seller's answer to a question, or either side's next message in a private conversation. To open a new conversation, use POST /conversations/.
Unlike the rest of this section, it is not limited to staff. The customer who owns a conversation may call it signed in as themselves, but only in their own name. Staff write as the conversation's seller, or in a customer's name.
What Each Kind Accepts
Kind
Seller message (content_type: datasource)
Customer message (content_type: user)
review
Refused — a review cannot be replied to (conversation_100_9)
Refused — a review is written once (conversation_100_10)
question
Accepted — the seller's answer
Refused — a question is written once (conversation_100_10)
message
Accepted
Accepted
Refusals are answered with 406; see Errors under Conversations.
Effects
Seller message — sets
is_answeredtotrue(recordingmarked_answeredif it wasfalse), records arepliedevent, e-mails the customer with the Conversation Replied template and emits theconversation_repliedwebhook. A seller reply is not moderated: a reply to an approved question appears on the storefront straight away, and a reply to a pending question appears as soon as the question is approved.Customer message — sets
is_answeredback tofalse, recordingmarked_unansweredif it wastrue.
Dynamic Settings & Environment Variables
THROTTLING_SETTINGS
object — scope → {"count": N, "duration": seconds}
send-message: 10 requests per 60 seconds
The send-message scope limits how often each caller — counted per user, or per client IP when unauthenticated — may post a message. The count is shared with the storefront's /users/conversations/ endpoint, where listing and reading conversations count too. Requests over the limit are answered with 429, except the first one from a client not yet flagged, which is let through once.
DISABLED_EMAIL_TEMPLATES and EMAIL_BCC_AND_CC apply to the reply e-mail as described under Conversations.
Last updated
Was this helpful?

