/
Acknowledging an order
POST /orders/{order_id}/acknowledgements— after you import an order into your ERP, report the result back so the Mercura operator can see it. Sendstatus: "SUCCESS"(optionally with your ownexternal_id, a free-textmessage, and anymetadata), orstatus: "FAILED"with a requiredmessagedescribing why. The call is idempotent and latest-wins for the status and message (a retry that first failed then succeeded ends upSUCCESS); a once-reportedexternal_idis kept even if a later acknowledgement omits it. Yourexternal_idis also written back to the order'serp_offer_id, so it shows up everywhere Mercura reads that field. The response body is the recorded acknowledgement only —{ status, external_id, message, metadata, acknowledged_at }, the same shape as the order'sacknowledgementfield — a small deterministic confirmation of what Mercura persisted (including the stickyexternal_id) without refetching the whole order. Recording-only: it does not change the order's workflowstatusor re-trigger an export.