GraphQL API
Organization API
Organization / Types/ object

StockConnection

A paginated list of Stock edges.

Fields

2 fields
cursor•String!

A unique cursor that can be used for pagination.

createdAt•DateTimeTz!

When the stock was created.

expiryDate•Date

Expiry date of perishable goods

id•ID!

Unique primary key.

locatable•Locatable

Locatable

lotNumber•String

Lot number of perishable goods

product•Product

Product linked to the stock

quantityAllocated•Int!

Quantity allocated to fulfillments

quantityAvailable•Int!

Quantity available

quantityOnHand•Int!

Quantity on hand

updatedAt•DateTimeTz!

When the stock was last updated.

warehouse•Warehouse!

Warehouse linked to the stock

endCursor•String

The cursor to continue paginating forwards.

hasNextPage•Boolean!

When paginating forwards, are there more items?

hasPreviousPage•Boolean!

When paginating backwards, are there more items?

startCursor•String

The cursor to continue paginating backwards.