Read questions and messages with the fulfiller
GET /v1/orders/{id}/messages
The whole thread of one of your own API orders with its fulfillers, oldest first: messages, questions with a reason, status reports (paused, on hold, failed, resumed), and return cards (kind=return, with return_event). open_question=true while a question is not resolved. partners lists the name, order number and status at the fulfiller. Return cards add return_event and exactly one of return_parcel_id or return_id; other messages omit those fields.
Required scopes: "orders:read".
#Parameters
#path: id
Required. Meykt ID of an order of this API channel and this environment.
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | string | Whole value | Not allowed | format: "uuid". |
#Request body
No request body is defined for this operation.
#Response 200
200: Success
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | — |
| data | object | Required when parent is present | Not allowed | Authorized response payload or documented event data. |
| data.order_id | string | Required when parent is present | Not allowed | Meykt order ID from authorized reads; not order number/external reference. format: "uuid". |
| data.open_question | boolean | Required when parent is present | Not allowed | Whether the fulfillment conversation still contains an unresolved question. |
| data.partners | array | Required when parent is present | Not allowed | Fulfillment partners involved in this order, within current visibility. |
| data.partners[] | object | Every array item | Not allowed | — |
| data.partners[].name | string or null | Required when parent is present | Allowed by schema | Display name. |
| data.partners[].partner_order_number | string or null | Required when parent is present | Allowed by schema | Order number used by the fulfillment partner. |
| data.partners[].fulfillment_status | string or null | Required when parent is present | Allowed by schema | Current status of the fulfillment work shown to the client. |
| data.partners[].accepts_messages | boolean | Required when parent is present | Not allowed | Whether the current partner relationship accepts messages. |
| data.messages | array | Required when parent is present | Not allowed | Messages in the fulfillment conversation. |
| data.messages[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.messages[].id | string | Required when parent is present | Not allowed | Stable entry identifier. format: "uuid". |
| data.messages[].from | string | Required when parent is present | Not allowed | you = your system or your team, partner = the fulfiller. enum: ["you","partner"]. |
| data.messages[].kind | string | Required when parent is present | Not allowed | question = a question from the fulfiller (the order is waiting), status = a status report from the fulfiller, return = a return or parcel card. enum: ["message","question","status","return"]. |
| data.messages[].reason | string or null | Required when parent is present | Allowed by schema | Recorded reason. enum: ["address_undeliverable","file_unusable","personalization_unclear","item_unavailable","deadline_at_risk","other",null]. |
| data.messages[].status_change | string or null | Required when parent is present | Allowed by schema | Fulfillment status change reported with this message; null for ordinary messages. enum: ["query","paused","on_hold","failed","resumed","cancelled",null]. |
| data.messages[].body | string or null | Required when parent is present | Allowed by schema | Message text shown to the other party. |
| data.messages[].reply_to | string or null | Required when parent is present | Allowed by schema | Identifier of the earlier message this answers; null for a new message. format: "uuid". |
| data.messages[].shipping_address_changed | boolean | Required when parent is present | Not allowed | A new shipping address was passed on with this message. |
| data.messages[].partner_order_number | string or null | Required when parent is present | Allowed by schema | Order number at the fulfiller. |
| data.messages[].created_at | string | Required when parent is present | Not allowed | Created at, with time-zone offset. format: "date-time". |
| data.messages[].read_at | string or null | Required when parent is present | Allowed by schema | Read by the other side. format: "date-time". |
| data.messages[].resolved_at | string or null | Required when parent is present | Allowed by schema | Questions only: resolved by the fulfiller. format: "date-time". |
| data.messages[].return_event | string or null | Optional | Allowed by schema | Present only when kind is return. Which return card this row is. enum: ["registered","decision_needed","decided","reshipped","unpacked","scrapped","restocked","reminder",null]. |
| data.messages[].return_parcel_id | string or null | Optional | Allowed by schema | Present only when kind is return and the card is about a parcel. Otherwise omitted or null. format: "uuid". |
| data.messages[].return_id | string or null | Optional | Allowed by schema | Present only when kind is return and the card is about a customer return. Otherwise omitted or null. format: "uuid". |
#Response 401, 403, 404, 429, 500, 503
401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.
Content type: application/json
| Field | Type | Presence | null | Meaning, limits and examples |
|---|---|---|---|---|
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: "uri". |
Machine-readable version of this page: https://www.meykt.com/developers/fields-list-order-messages.md