List all sales orders
List your sales orders with cursor-based pagination, each with its lines and quantities, its fulfilment block, its document_holder and its origin. - Filter by status, channel, business_contact_id, series_id, warehouse_id, number, external_id, order_date and expected_delivery_date. - Narrow with pending (deliver, invoice or invoiceable) and delivery (late or week); search the number, the buyer name and the external reference. - Sort by creation, number, expected delivery date or buyer_name.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidQuery Parameters
Number of objects to return, between 1 and 100 (default 25).
251 <= value <= 100Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).
uuidCursor for backward pagination: pass the id of the first object on the current page.
uuidSales order status: draft, confirmed, partially_served, served, partially_invoiced, invoiced, closed or cancelled. Exact match on status.
"draft" | "confirmed" | "partially_served" | "served" | "partially_invoiced" | "invoiced" | "closed" | "cancelled"Sales order status: draft, confirmed, partially_served, served, partially_invoiced, invoiced, closed or cancelled. Comma-separated list. Any of the values matches.
Origin channel, fixed at creation: manual, store, storefront, api, quote, proforma or assistant. Exact match on channel.
"manual" | "store" | "storefront" | "api" | "quote" | "proforma" | "assistant"Origin channel, fixed at creation: manual, store, storefront, api, quote, proforma or assistant. Comma-separated list. Any of the values matches.
Business contact ID (UUID v7) the order is linked to. A contact that does not belong to the company in the path yields an EMPTY page, never a rejection. Exact match on business_contact_id.
uuidNumbering series ID (UUID v7) the order is confirmed with. A series that does not belong to the company in the path yields an EMPTY page, never a rejection. Exact match on series_id.
uuidWarehouse ID (UUID v7): matches the warehouse of the order header or of any of its lines. A warehouse of another company yields an empty page, never a rejection.
uuidSales order number. Only a confirmed order carries one, so a draft never matches this filter. Exact match on number.
Sales order number. Only a confirmed order carries one, so a draft never matches this filter. Comma-separated list. Any of the values matches.
Sales order number. Only a confirmed order carries one, so a draft never matches this filter. Partial case-insensitive match (LIKE %term%) on number.
Reference the system that created the order uses to identify it, unique per company. Exact match on external_id.
Reference the system that created the order uses to identify it, unique per company. Comma-separated list. Any of the values matches.
Order date (YYYY-MM-DD). Exact match on order_date.
dateOrder date (YYYY-MM-DD). Greater than or equal to the given value.
dateOrder date (YYYY-MM-DD). Less than or equal to the given value.
dateOrder date (YYYY-MM-DD). Strictly greater than the given value.
dateOrder date (YYYY-MM-DD). Strictly less than the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Exact match on expected_delivery_date.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Greater than or equal to the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Less than or equal to the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Strictly greater than the given value.
dateExpected delivery date (YYYY-MM-DD). An order with no expected date never matches this filter. Strictly less than the given value.
datePending portfolio: deliver (something left to serve), invoice (left to invoice) or invoiceable (can be invoiced now). Without the delivery notes module, deliver returns no order.
"deliver" | "invoice" | "invoiceable"Expected delivery: late (overdue with something left to serve) or week (due within seven days, today included). Without the delivery notes module it returns no order.
"late" | "week"Sort order: created, number, expected_delivery_date, buyer_name ascending, or with a - prefix for descending (default -created).
"created" | "-created" | "number" | "-number" | "expected_delivery_date" | "-expected_delivery_date" | "buyer_name" | "-buyer_name"Free-text search over the order number, the buyer name and the external reference (external_id), case-insensitive, up to 80 characters.
length <= 80Headers
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json