Skip to main content
Required scopes: inventory_read

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.
String
Only return items with this lot number.
Which key to sort by (creation time, newest first). Combine with reverse to flip direction.
Boolean
Reverses the sort direction selected by orderBy (or its default).
String
Only return items whose product has this SKU (exact, case-sensitive).
ID
Only return items in this storage location.

Returns

A paginated list of InventoryItem items.

Example