Get Raw Order from Store
GET/api/storefront/instances/:id/orders/:id2/raw
Ask the store for this order right now and return exactly what it sends back, untouched. Nothing is written: the mirrored order and its stored payload are left alone. Use it to compare what SKU.io holds against what the store currently says.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
The payload is the store's own order object, not SKU.io's, so its field names are the store's: id, number, status, payment (status, provider, reference, method_label, paid_at), currency, money objects for subtotal/shipping/tax/discount/total (each {amount, currency} in minor units), customer, shipping_address, billing_address, shipping_method, lines, fulfillments, external_reference, notes, metadata, and the created_at/updated_at/paid_at/cancelled_at timestamps. It is wrapped as {"data": {"order": … }}.
404 when the store no longer has the order; 422 when the store could not be reached or refused the read (the message carries the store's own error text).
Authentication: Bearer token (session or PAT).
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.