Openapi
Return sales orders, newest first. Search matches the order number, external id, and buyer name.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidcustomerId?stringuuidlimit*integer1 <= value <= 10050offset*integer0 <= value <= 90071992547409910q?stringlength <= 200status?string"draft""confirmed""on_hold""completed""canceled"Returns sales orders.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/orders?customerId=123e4567-e89b-12d3-a456-426614174000&limit=1&offset=1&q=example&status=example'{ "data": [ { "canceledAt": "string", "channel": "manual", "completedAt": "string", "confirmedAt": "string", "createdAt": "string", "currency": "string", "customer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "deliveryMethod": "pickup", "formattedNumber": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoicingPolicy": "before_fulfillment", "number": 0, "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7", "quoteNumber": 0, "requestedDeliveryDate": "2019-08-24", "status": "draft", "subtotalExcl": 0, "totalIncl": 0, "updatedAt": "string", "vatTotal": 0 } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}