/api/v1/orders tenant key Lists your orders, newest first. Status vocabulary: PENDING_PAYMENT (quoted, not yet committed), PENDING (committed, queued for pick-pack), COMPLETED (shipped), CANCELLED, RETURNED (the carrier brought the package back; the warehouse reinstated the cards it contained — terminal like COMPLETED, see Get order). The status filter is matched exactly and validated — an unrecognized value returns 400 listing the accepted ones, rather than an empty list you’d have to interpret.
GET /api/v1/orders?limit=10 These inputs are shared across all docs pages, so an id entered here carries over.
Not run yet. Press Run to make a live call against https://service.rip.fun (through this demo's server-side proxy; the API key never reaches the browser).
curl -X GET 'https://service.rip.fun/api/v1/orders?limit=10' \ -H 'X-API-Key: rip_…'
| Field | Type | Required | Description |
|---|---|---|---|
status | query string | — | Exact-match filter: PENDING_PAYMENT | PENDING | COMPLETED | CANCELLED | RETURNED |
external_reference | query string | — | Exact-match filter on your own order id, as you sent it on the quote or commit (trimmed). Same 1–128 printable-character rule as the write: a value that could never have been stored is a 400, not an empty page |
limit / offset | query int | — | limit 1..100 default 50; offset 0..10_000 default 0. has_more signals another page |
data)| Field | Description |
|---|---|
orders[].order_id / status / unique_ids | Order id, lifecycle status, the cards on it |
orders[].external_reference | Your id for the order, from the quote or commit; null if you sent none |
orders[].reference | The order’s human-readable number (101326AA0042: ship-by day MMDDYY, then the shared sequence); null on an uncommitted quote and on orders older than this field. Orders given one between 2026-10-05 and 2026-10-07 keep that random code (KPTX4821) |
orders[].shipping_total_cents / sales_tax_cents / currency | Pass-through shipping billed (the quoted amount) + tax |
orders[].carrier / carrier_service / shippo_* | Committed carrier/service, rate + address + shipment ids; tracking + label urls once the parcel is packed (null on a PENDING order committed since 2026-10-26; orders committed before that already carry them) |
orders[].ship_by_at / label_purchased_at / created_at / updated_at | Lifecycle timestamps: ship_by_at is set at commit, label_purchased_at when the warehouse packs the parcel |
orders[].returned_at / return | Same as on GET /orders/:order_id; both null unless the order is RETURNED |
orders[].hold | Same as on GET /orders/:order_id: present only while the order is on hold. A held order reads PENDING, so ?status=PENDING lists it |
pagination.limit / offset / has_more | Echoed paging + whether more rows exist |
| Status | Code | When |
|---|---|---|
| 400 | invalid status | status is not one of the accepted values |
| 400 | Invalid external_reference filter | external_reference is not a string, is empty or longer than 128 characters after trimming, or contains control or invisible characters (the error says which) |
| 403 | Tenant API key required | key is not tenant-scoped (e.g. a mystery-partner key) |
See Errors for the response envelope and the full code list.