Get Orders

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Requires the Store plan feature (403 otherwise). The store orders of the partner (for a brand partner: of its brands), newest first (created_at, then id, both descending), so two pages never overlap.

Query

  • page — 1 or more, default 1.
  • per_page — optional, 1-500, default 100.
  • created_from — orders created at or after this time (inclusive).
  • created_to — orders created before this time (exclusive); must be later than created_from when both are set.
    Both times are ISO 8601 YYYY-MM-DDThh:mm[:ss[.ffffff]] with a time zone offset, Z, ±hh:mm or ±hhmm, e.g. 2026-01-01T00:00:00Z. Send + URL-encoded as %2B (created_from=2026-01-01T02:00:00%2B02:00); a raw + reads as a space and is rejected.
  • organization_id — orders of one organization (UUID).
  • coupon_id — orders with at least one item bought with this coupon (UUID).
  • short_id — exact order number, e.g. ORD-JL8K3; must not be empty.
  • reference_id — exact reference the buyer entered; must not be empty.
  • fulfillment_status — one of fulfillment_status below.
  • payment_status — one of payment_status below. An order whose payment_status is null matches no value.
  • pending_approval — true or false. true: only orders waiting for your approval (approval_state = pending_approval); false: every other order.
  • include_renewals — true or false; true adds subscription renewal orders; default false (first purchases only).

An invalid value returns 422 with { "error": "..." }: page below 1, per_page out of range, a boolean that cannot be read ('maybe' is not a valid boolean), an empty short_id or reference_id (Parameter short_id cannot be blank), an unknown or empty enum value (Parameter fulfillment_status must be one of the following: order_placed / processing / ...), an empty or malformed time or one without an offset, created_to not later than created_from (created_to must be after created_from), or an id that is not a UUID (organization_id must be a valid UUID).

Success

200 OK:

{
  "data": [
    {
      "id": "....-a1",
      "short_id": "ORD-JL8K3",
      "reference_id": "PO-77",
      "created_at": "2026-01-15T10:00:00.000Z",
      "currency": "USD",
      "subtotal": 25,
      "tax": 1.25,
      "total": 26.25,
      "payment_method": "credit_card",
      "payment_status": "paid",
      "approval_state": "not_required",
      "approved_at": null,
      "approved_by": null,
      "fulfillment_status": "shipped",
      "tracking_number": "1Z999",
      "is_renewal": false,
      "partner": { "id": "....-b2", "name": "Acme" },
      "organization": { "id": "....-c3", "name": "Contoso" },
      "payment": { "id": "....-d4" },
      "coupon_names": ["Spring"],
      "total_coupon_discount": 5
    }
  ],
  "page_info": { "has_next": false, "total_count": 1 }
}
  • Money (subtotal, tax, total, total_coupon_discount) is a JSON number in major units of the order's currency (12.5 USD, 500 JPY), with a fraction when the amount has one. total = subtotal + tax. total_coupon_discount is what coupons saved on the order, 0 without coupons.
  • organization — null when the order has none.
  • payment — { id } of the order's payment; null when the order has no payment. Its status is payment_status. An offline payment is not available from Get Payments or Get Payment (404).
  • payment_method:
    • credit_card — paid by card in the store.
    • purchase_order — paid against a purchase order (PO) file.
    • offline — paid outside the store.
    • lab — a test order placed by a Lab Account; nothing is charged.
  • payment_status — null when the order has no payment; the payment_status filter cannot select such orders. A payment with the legacy status expired reads as uncollectible, and the uncollectible filter matches it. Otherwise:
    • pending — payment not settled yet (not a purchase order).
    • awaiting_po_upload — purchase order: the buyer has not uploaded the PO file yet.
    • awaiting_po_approval — purchase order: PO file uploaded, waiting for approval.
    • paid — paid.
    • failed — the charge failed; it may be retried.
    • uncollectible — given up on collecting.
    • archived — the unpaid order was archived.
    • refunded — paid, then refunded.
  • approval_state:
    • not_required — the order needs no seller approval.
    • approved — you approved the order (approved_at).
    • pending_approval — paid and waiting for your approval.
    • awaiting_payment — needs approval, but not paid yet (or approved as part of the purchase order step).
  • approved_by — who approved the order; null when nobody did, when the approving portal user was later removed, or for an order approved before this field was recorded.
    • { "type": "api_key", "name": "ERP sync" } — approved through the Partner API (Approve Order) with this API key of yours. name is the key's name at the time of approval; it stays after the key is renamed or deleted.
    • { "type": "user", "id": "....-e5", "name": "Dana Cohen" } — approved by this user in the partner portal (for a purchase order: the user who approved the PO).
  • fulfillment_status:
    • order_placed — not paid yet.
    • processing — paid; physical items wait for shipment.
    • missing_information — paid; the buyer still owes post-purchase details.
    • available — paid; digital items are available.
    • ready — shipment ready to ship.
    • shipped — shipment shipped (tracking_number).
    • delivered — shipment delivered.
    • cancelled — the order was cancelled.
    • cancelled_during_ready — cancelled while its shipment was ready.
  • is_renewal — true for an order a subscription renewal created.
Query Params
integer

Page number, 1 or more, default 1

integer

Items per page. Optional, 1-500, default 100. Any other value returns 422.

string

Orders created at or after this time (inclusive). ISO 8601 with a time zone offset, e.g. 2026-01-01T00:00:00Z. Send + as %2B.

string

Orders created before this time (exclusive); must be later than created_from when both are set. ISO 8601 with a time zone offset, e.g. 2026-01-01T00:00:00Z. Send + as %2B.

string

Orders of one organization (UUID).

string
enum

One of fulfillment_status.

string
enum

One of payment_status. An order whose payment_status is null matches no value.

boolean

true or false. true: only orders waiting for your approval (approval_state = pending_approval); false: every other order.

string

Orders with at least one item bought with this coupon (UUID).

string

Exact order number, e.g. ORD-JL8K3; must not be empty.

string

Exact reference the buyer entered; must not be empty.

boolean

true or false; true adds subscription renewal orders; default false (first purchases only).

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json