Warehouse / Stock

stockCounts

List stock counts for the warehouse.

Arguments

afterString

A cursor after which elements are returned.

beforeString

A cursor before which elements are returned.

firstInt

Limits number of fetched items. Maximum allowed value: 250.

lastInt

Limits number of fetched items. Maximum allowed value: 250.

queryString

Filter 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 value
namestringAny value
typeenum
REGULARAD_HOCRECOUNT
statusenum
OPENCOMPLETED
created_atdatetimeAny value
completed_atdatetimeAny value
reverseBoolean!Default: false

Reverse the order of the underlying list.

sortKeyStockCountsSortKeyDefault: ID

Sort the underlying list using a key.

CREATED_ATIDNAMESTATUS

Returns

cursorString!

A unique cursor that can be used for pagination.

endCursorString

The cursor to continue paginating forwards.

hasNextPageBoolean!

When paginating forwards, are there more items?

hasPreviousPageBoolean!

When paginating backwards, are there more items?

startCursorString

The cursor to continue paginating backwards.