Read the completion report of a received order
All field references · Fulfiller
GET /v1/fulfillment/orders/{id}/completion
The valid report or completion=null, including reports made in Meykt. Requires a live API key.
Required scopes: "fulfillment:read".
#Parameters
#path: id
Required. Meykt id of an order you received as a fulfiller (from GET /v1/fulfillment/orders).
| 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.completion | alternative (anyOf) | Required when parent is present | Allowed by schema | Currently valid shipment or handover report; null when none exists. |
| data.completion | object | Conditional: anyOf 1/2 | Not allowed | anyOf 1/2: At least one alternative must match. Currently valid shipment or handover report; null when none exists. |
| data.completion.order_id | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Meykt order ID from authorized reads; not order number/external reference. format: "uuid". |
| data.completion.kind | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Kind selects required fields. enum: ["shipped","handed_over"]. |
| data.completion.handover_kind | string or null | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. outside_meykt = completed without a shipment or handover recorded in Meykt ("Just complete"). enum: ["picked_up","on_site","in_person","not_required","outside_meykt",null]. |
| data.completion.reported_by | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. api = this channel, meykt = the Meykt interface or AI access, automatic = the setting "Hand over after production". enum: ["api","meykt","automatic"]. |
| data.completion.completed_at | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Time the shipment or handover was completed. format: "date-time". |
| data.completion.note | string or null | Required when parent is present | Allowed by schema | anyOf 1/2: At least one alternative must match. Human-readable note accompanying this order or operation. |
| data.completion.tracking | array | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Tracking numbers; each number at most once. maxItems: 10. |
| data.completion.tracking[] | object | Every array item | Not allowed | anyOf 1/2: At least one alternative must match. Additional properties are not allowed. |
| data.completion.tracking[].carrier | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Name of the carrier, e.g. GLS. minLength: 1. maxLength: 80. |
| data.completion.tracking[].number | string | Required when parent is present | Not allowed | anyOf 1/2: At least one alternative must match. Tracking number or package sequence number, as indicated by this object and its type. minLength: 1. maxLength: 120. pattern: "^[A-Za-z0-9][A-Za-z0-9 ./_-]*$". |
| data.completion | null | Conditional: anyOf 2/2 | Allowed by schema | anyOf 2/2: At least one alternative must match. Currently valid shipment or handover report; null when none exists. |
| data.partner_reports | array | Optional | Not allowed | Shipment or handover reports of the fulfillers of this order (current handovers, valid reports), oldest first. Only on GET /orders/{id}/completion. |
| data.partner_reports[] | object | Every array item | Not allowed | — |
| data.partner_reports[].completion_id | string | Required when parent is present | Not allowed | Identifier of the shipment or handover report. format: "uuid". |
| data.partner_reports[].kind | string | Required when parent is present | Not allowed | Kind selects required fields. enum: ["shipped","handed_over"]. |
| data.partner_reports[].handover_kind | string or null | Required when parent is present | Allowed by schema | How the order was completed without a package; null for shipped reports. |
| data.partner_reports[].completed_at | string | Required when parent is present | Not allowed | Time the shipment or handover was completed. format: "date-time". |
| data.partner_reports[].tracking | array | Required when parent is present | Not allowed | Tracking numbers; each number at most once. maxItems: 10. |
| data.partner_reports[].tracking[] | object | Every array item | Not allowed | Additional properties are not allowed. |
| data.partner_reports[].tracking[].carrier | string | Required when parent is present | Not allowed | Name of the carrier, e.g. GLS. minLength: 1. maxLength: 80. |
| data.partner_reports[].tracking[].number | string | Required when parent is present | Not allowed | Tracking number or package sequence number, as indicated by this object and its type. minLength: 1. maxLength: 120. pattern: "^[A-Za-z0-9][A-Za-z0-9 ./_-]*$". |
| data.partner_reports[].partner_order_number | string or null | Required when parent is present | Allowed by schema | Order number used by the fulfillment partner. |
| data.partner_reports_complete | boolean | Optional | Not allowed | true when every item lies with a fulfiller that reported; same meaning as complete in order.shipped. |
#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-get-fulfillment-order-completion.md