Inventory Items

Inventory Items Query

Returns a paginated list of InventoryItem objects, with optional filtering and ordering.

Arguments

Name
Type
Description

after

Cursor

Returns the elements in the list that come after the specified cursor

first

Int

Returns the first n elements from the list

before

Cursor

Returns the elements in the list that come before the specified cursor

last

Int

Returns the last n elements from the list

orderBy

InventoryItemOrder

Ordering options for InventoryItems returned from the connection

where

InventoryItemWhereInput

Filtering options for InventoryItems returned from the connection

Return Type

InventoryItemConnection! - A connection to a list of InventoryItem objects with pagination information.

Notes

  • The data field contains custom item attributes as JSON

  • Use Data, DataHasKey, DataIn, and DataContains filters for querying JSON data

  • See Advanced JSON Field Queries for detailed JSON query examples

Usage Example

Last updated

Was this helpful?