Complete order receipt
POST
/ store/ v1/ order-status/ {token}/ receipts/ {receipt_id}/ complete- Idempotency-Key supported
Confirms the receipt's file arrived, with the files edge's receipt. The page then shows the receipt submitted (the store reviews it), or scanning while its malware scan finishes: ask again until it isn't. A file the scan blocked is refused (422, with why).
Path parameters
tokenstringrequiredThe order's link token
receipt_idstringrequiredThe receipt being sent
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
receiptstringrequiredExactly as the edge returned it.
Returns
200 The order's page.
Errors
- 404
not_foundNo order has this link, or no such receipt. - 422
validation_failedThe edge's receipt isn't for this file, or the malware scan blocked it.