MeyktAPI Documentation

Confirm that your system took over a received order

All field references · Fulfiller

POST /v1/fulfillment/orders/{id}/acknowledge

Marks the order as acknowledged so GET /fulfillment/orders?acknowledged=false no longer lists it. Optional external_reference = your own order id. The first acknowledgement counts: repeating it (without or with the same reference) answers 200; a different reference answers 409 reason=already_acknowledged. Cancelled orders: 409 reason=order_cancelled. It does not change the status the client sees; report progress with /status. Requires a live API key.

Required scopes: "fulfillment:write".

How to read these tables

#Parameters

#path: id

Required. Meykt id of an order you received as a fulfiller (from GET /v1/fulfillment/orders).

FieldTypePresencenullMeaning, limits and examples
$ (whole value)stringWhole valueNot allowedformat: "uuid".

#Request body

Request body required.

Content type: application/json

FieldTypePresencenullMeaning, limits and examples
$ (whole value)objectWhole valueNot allowedExamples: [{"external_reference":"ERP-1001"}]. Additional properties are not allowed.
external_referencestringOptionalNot allowedYour order identifier. The first acknowledgement fixes it; a later different reference conflicts. minLength: 1. maxLength: 120.

#Response 200, 201

200: Success; see the status meaning of the operation. 201: Success

Content type: application/json

FieldTypePresencenullMeaning, limits and examples
$ (whole value)objectWhole valueNot allowed—
dataobjectRequired when parent is presentNot allowedAuthorized response payload or documented event data.
data.order_idstringRequired when parent is presentNot allowedMeykt order ID from authorized reads; not order number/external reference. format: "uuid".
data.acknowledged_atstringRequired when parent is presentNot allowedTime the fulfiller system acknowledged taking over this order. format: "date-time".
data.external_referencestring or nullRequired when parent is presentAllowed by schemaOrder identifier recorded by the fulfiller system.

#Response 400, 401, 403, 404, 409, 422, 429, 500, 503

400: The request is not valid JSON. 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". 409: The same ID already exists with different content. It is never overwritten. 422: Content validation failed. The response lists all affected locations at once. 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

FieldTypePresencenullMeaning, limits and examples
$ (whole value)objectWhole valueNot allowed—
errorobjectRequired when parent is presentNot allowedMachine-readable error code; use it to select the documented recovery path.
error.codestringRequired when parent is presentNot allowedMachine-readable, permanently stable error code. Program against it, not against message.
error.messagestringRequired when parent is presentNot allowedExplanation for humans. May change at any time.
error.fieldstringOptionalNot allowedAffected location in the request, if it can be determined.
error.doc_urlstringRequired when parent is presentNot allowedDocumentation link explaining this API error. format: "uri".

Machine-readable version of this page: https://www.meykt.com/developers/fields-acknowledge-fulfillment-order.md