Skip to main content

List Orders

GET 

/api/portal/orders

List the active account's orders.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Authentication: Bearer token (Personal Access Token).

Filtering: pass column filters as filter[<column>] or filter[<column>.<operator>] (e.g. filter[order_status]=shipped, filter[order_date.on_or_after]=2026-07-01). For AND/OR logic use filter_groups (base64-encoded JSON tree). Free-text search uses filter[search], optionally scoped via search_columns / search_strict_columns.

Sorting: sort=<field>, prefix - for descending. Allowed: id, order_date, order_status, payment_status, sales_order_number, created_at.

Pagination: page (default 1), per_page (default 10, max 100).

Which orders: by default every order the account has, whatever channel it came through (the portal, the merchant's store, phone or email orders entered by staff) — another channel's draft orders are never shown. A merchant can limit this to orders placed in the portal (Portal Settings → Order history).

Request​

Responses​

OK

Response Headers
    Content-Type