GraphQL API
Warehouse API
Warehouse / Types/ object

StockConnection

A paginated list of Stock edges.

Fields

2 fields
cursorString!

A unique cursor that can be used for pagination.

Allocations linked to the stock

createdAtDateTimeTz!

When the stock was created.

expiryDateDate

Expiry date of perishable goods

idID!

Unique primary key.

locatableLocatable

Locatable

lotNumberString

Lot number of perishable goods

organizationOrganization

Organization linked to the product

productProduct

Product linked to the stock

quantityAllocatedInt!

Quantity allocated to fulfillments

quantityAvailableInt!

Quantity available

quantityOnHandInt!

Quantity on hand

serialNumbersSerialNumberConnection!

Serial numbers linked to the stock

updatedAtDateTimeTz!

When the stock was last updated.

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.