Skip to main content

Acknowledge a purchase order in full (SubmitAcknowledgement)

POST 

/vendor/acknowledgements

Accepts or rejects the whole purchase order with one decision. The request must echo every line with its ordered quantity; anything else is a partial acknowledgement and is refused (ErrPartialAcknowledgement). A purchase order is acknowledged at most once (ErrAlreadyAcknowledged, which also covers an acknowledgement still processing) and never after ackBy (ErrAckWindowClosed, judged on the receipt instant). On 202 the order moves to ACK_PROCESSING; it becomes ACCEPTED or REJECTED when the transaction succeeds, and returns to ISSUED if it fails.

Request​

Responses​

Accepted for processing. Reconcile with GET /vendor/transactions/{transactionId}.

Response Headers
    Idempotency-Replayed

    true when this response is a replay of the first response stored for the Idempotency-Key (a 2xx or a final refusal); absent otherwise. A refusal that can pass on a retry is never stored, so it is never replayed.