Skip to content

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

  • tokenstringrequired

    The order's link token

  • receipt_idstringrequired

    The receipt being sent

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • receiptstringrequired

    Exactly as the edge returned it.

Returns

200 The order's page.

Errors

  • 404not_foundNo order has this link, or no such receipt.
  • 422validation_failedThe edge's receipt isn't for this file, or the malware scan blocked it.