Warehouse / Stock locations
stockLocations
List stock locations
Arguments
afterStringA cursor after which elements are returned.
beforeStringA cursor before which elements are returned.
firstIntLimits number of fetched items. Maximum allowed value: 250.
ids[ID!]lastIntLimits number of fetched items. Maximum allowed value: 250.
queryStringSearch and filter expression for stock locations. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
Supported filters
stock_location_type. iduuidAny valuenamestringAny valuecodestringAny valuesearchstringAny valueparent. iduuidAny valueis_rootboolAny valuepickableboolAny valuehas_empty_stockboolAny valuehas_stockboolAny valuehas_childrenboolAny valueon_floorplanboolAny valueneeds_placementboolAny valuereverseBoolean!Default: falseReverse the order of the underlying list.
Returns
cursorString!A unique cursor that can be used for pagination.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.