Skip to main content
Required scopes: inventory_read Store must have one of: IMS, WMS

Arguments

String
Forward pagination cursor — returns items after it. Pass an edges[].cursor or pageInfo.endCursor from a previous page.
String
Backward pagination cursor — returns items before it. Pass an edges[].cursor or pageInfo.startCursor from a previous page.
Int
Forward pagination: returns the first N items (max 100, default 25). Use with after; mutually exclusive with last/before.
Int
Backward pagination: returns the last N items (max 100, default 25). Use with before; mutually exclusive with first/after.
ID
Only return lots associated with this warehouse.
String
Only return lots with this exact lot number. Requires productId or locationId.
Which key to sort by.
ID
Only return lots for this product and products merged with it.
Boolean
Reverse the requested sort direction.

Returns

A paginated list of InventoryLot items.

Example