Skip to content

Retrieve order history

Request

Every state an order has passed through, with timestamps. Available on staging and production at the matching base URL.

This is the only way to reconstruct transitions your webhook receiver missed. GET /orders/{order_id} returns the current state only.

Security
bearerToken or oauthToken
Path
order_idstringrequired

The Quiqup order id returned on create.

curl -i -X GET \
  'https://api.staging.quiqup.com/orders/{order_id}/history' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The order's state history, oldest first. A bare array, not wrapped in an object. It records transitions, so a freshly created order returns []. pending does appear as a to_state on orders that return to it, so do not assume the initial state is never logged.

Bodyapplication/json
Array [
to_statestring
occurred_atstring
authorobject
custodianobject
delivery_metricsobject
eventsArray of objects
internal_orderobject or null
on_hold_reasonstring or null
reasonstring or null
return_to_origin_reasonstring or null
]
Response
[ { "to_state": "string", "occurred_at": "string", "author": { … }, "custodian": { … }, "delivery_metrics": { … }, "events": [ … ], "internal_order": {}, "on_hold_reason": "string", "reason": "string", "return_to_origin_reason": "string" } ]