receipts query
receipts 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 receipts that match a filter, newest first by effectiveAt, then by when
they were created, then by id. Use it to read a receipt back after the events feed reports
that one was opened, completed, cancelled or revised.
- Requires the
receipt.readpermission. - Draft receipts are never returned.
- Receipts outside your API key's warehouse or legal-entity scope are left out.
- The connection has no total count.
filter.idsnames at most 50 receipts. An id that does not exist, is not a receipt, is a draft or is outside your API key's scope is left out of the page. It is never an error.
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:ReceiptFilterfirst:Intafter:Stringlast:Intbefore:String
Returns
ReceiptConnection!: a page of Receipt.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.