stocktakeCountedLines query
stocktakeCountedLines 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 what a stocktake counted, by line, once MAX handed the stocktake over to the external system that manages the warehouse. Use it to apply the count in the external system.
- Requires the
inventory.readpermission. - Any other stocktake, or one outside your API key's scope, returns
NOT_FOUND.
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
id:UUID!· requiredfirst:Intafter:Stringlast:Intbefore:String
Returns
StocktakeCountedLineConnection!: a page of StocktakeCountedLine.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.