Organization / Types/ object
StockConnection
A paginated list of Stock edges.
Fields
2 fieldscursor•String!A unique cursor that can be used for pagination.
createdAt•DateTimeTz!When the stock was created.
expiryDate•DateExpiry date of perishable goods
id•ID!Unique primary key.
locatable•LocatableLocatable
lotNumber•StringLot number of perishable goods
product•ProductProduct 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•StringThe cursor to continue paginating forwards.
hasNextPage•Boolean!When paginating forwards, are there more items?
hasPreviousPage•Boolean!When paginating backwards, are there more items?
startCursor•StringThe cursor to continue paginating backwards.