List orders

GET /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.

Try it GET /api/v1/orders?limit=10

These inputs are shared across all docs pages, so an id entered here carries over.

response

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 (tracks the inputs above)
curl -X GET 'https://service.rip.fun/api/v1/orders?limit=10' \
  -H 'X-API-Key: rip_…'

Request fields

FieldTypeRequiredDescription
statusquery string—Exact-match filter: PENDING_PAYMENT | PENDING | COMPLETED | CANCELLED | RETURNED
external_referencequery 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 / offsetquery int—limit 1..100 default 50; offset 0..10_000 default 0. has_more signals another page

Response fields (data)

FieldDescription
orders[].order_id / status / unique_idsOrder id, lifecycle status, the cards on it
orders[].external_referenceYour id for the order, from the quote or commit; null if you sent none
orders[].referenceThe 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 / currencyPass-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_atLifecycle timestamps: ship_by_at is set at commit, label_purchased_at when the warehouse packs the parcel
orders[].returned_at / returnSame as on GET /orders/:order_id; both null unless the order is RETURNED
orders[].holdSame 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_moreEchoed paging + whether more rows exist

Errors

StatusCodeWhen
400invalid statusstatus is not one of the accepted values
400Invalid external_reference filterexternal_reference is not a string, is empty or longer than 128 characters after trimming, or contains control or invisible characters (the error says which)
403Tenant API key requiredkey is not tenant-scoped (e.g. a mystery-partner key)

See Errors for the response envelope and the full code list.