Creation
If you build a custom checkout, first fetch the current storefront and show the legal documents selected by the shop. Submit their exactlegalDocumentVersion with the three informed consents:
Idempotency-Key only for an identical retry. A new purchase attempt needs a new random key. In production, a missing Turnstile token or a stale/mismatched legal-document version blocks checkout.
The guest response contains limited data, a redirectUrl, orderId, and an opaque statusToken. Store that capability only on the client that needs to track the order; never put it in logs or a public URL.
Statuses
The customer reads the limited status through
GET /orders/public/{orderId}/status with the capability returned by checkout:
GET /orders/payment-status/{orderId} exposes additional provider data and therefore requires a Bearer session for a user who can access the order’s shop.
Changing status (dashboard or integration)
A user with access or a shop key withorders:write can change status manually:
Nickname change
Before fulfilment completes, a customer can change the nickname by confirming a code sent to the email stored on the order:1
Request a code
POST /orders/public/{orderId}/nickname/request-change with the order’s email. The API sends a 6-digit code valid for 10 minutes.2
Confirm
POST /orders/public/{orderId}/nickname/change with the code and new nickname. After verification, the nickname changes and the previous value remains in history.