salesOrders query
salesOrders is a GraphQL query of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Returns a page of sales orders that match a filter, newest first by orderedAt, then by
id. Use it to browse or reconcile orders, for example "every order from SHOP since
yesterday" or "every order that waits for review".
- Requires the
order.readpermission. - Orders outside your API key's legal-entity scope are left out.
- Draft orders are left out. The API never creates a draft, and a user can discard a draft without a trace.
- The connection has no total count.
Pass exactly one of first or last, from 1 to 250. first (with after) pages forward;
last (with before) pages backward. last alone returns the last page. Every edge carries
its own cursor.
A page costs 2 + first (or last) × the cost of one node.
Arguments
filter:SalesOrderFilterfirst:Intafter:Stringlast:Intbefore:String
Returns
SalesOrderConnection!: a page of SalesOrder.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.