Chameleoon MAX · Products
products query
products 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 products that match a filter, sorted by sortKey, then by id. Use it to
browse the catalogue or to sync it incrementally.
- Requires the
item.readpermission. - Archived products are returned only with
filter.includeArchived. - Each list in the filter names at most 250 values. An empty list matches nothing.
- The connection has no total count.
Paging
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, which belongs to the sortKey it was read under.
A page costs 2 + first (or last) × the cost of one node.
Arguments
filter:ProductFiltersortKey:ProductSortKey=CODEfirst:Intafter:Stringlast:Intbefore:String
Returns
ProductConnection!: a page of Product.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.