Warehouse / Stock
stockCounts
List stock counts for the warehouse.
Arguments
afterStringA cursor after which elements are returned.
beforeStringA cursor before which elements are returned.
firstIntLimits number of fetched items. Maximum allowed value: 250.
lastIntLimits number of fetched items. Maximum allowed value: 250.
queryStringFilter stock counts by ID, name, type, status, or lifecycle date. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
Supported filters
iduuidAny valuenamestringAny valuetypeenumREGULARAD_HOCRECOUNTstatusenumOPENCOMPLETEDcreated_atdatetimeAny valuecompleted_atdatetimeAny 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.