Organization / Types/ object
StockConnection
A paginated list of Stock edges.
Fields
2 fieldshasNextPage•Boolean!When paginating forwards, are there more items?
hasPreviousPage•Boolean!When paginating backwards, are there more items?
startCursor•StringThe cursor to continue paginating backwards.
endCursor•StringThe cursor to continue paginating forwards.
id•ID!Unique primary key.
quantityAllocated•Int!Quantity allocated to fulfillments
quantityOnHand•Int!Quantity on hand
quantityAvailable•Int!Quantity available
expiryDate•DateExpiry date of perishable goods
lotNumber•StringLot number of perishable goods
createdAt•DateTimeTz!When the stock was created.
updatedAt•DateTimeTz!When the stock was last updated.
locatable•LocatableLocatable
product•ProductProduct linked to the stock
warehouse•Warehouse!Warehouse linked to the stock
cursor•String!A unique cursor that can be used for pagination.