Send an order message or note
Adds a message to the order’s conversation, authored by the token’s user (422 on $.base
without one). External messages (default) are visible to the customer; internal: true adds a
staff note. notify: true (external only, 422 on $.notify otherwise) also emails the message
to the customer after it is saved. The order must have a contact (422 on $.order). Unknown
fields answer 422. Needs the full orders.write scope; the _own scopes get 403.
POST
/orders/{order_id}/messagesAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
order_idstringrequiredRequest body
requiredapplication/jsonbodystringrequiredmin length 1 · max length 5000
internalbooleandefault: false
notifybooleandefault: false
Responses
201
Message created
idintegerbodystringinternalbooleantrue for a staff note, hidden from the customer.
senderstringauthorobject | nullShow propertiesHide properties
idintegernamestringcreated_onstring<date-time>422
Invalid body, unknown field, notify on a note, no user on the token, or order without contact.