Warehouse / Types/ object
StockConnection
A paginated list of Stock edges.
Fields
2 fieldscursor•String!A unique cursor that can be used for pagination.
allocations•FulfillmentLineAllocationConnection!Allocations linked to the stock
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
organization•OrganizationOrganization linked to the product
product•ProductProduct linked to the stock
quantityAllocated•Int!Quantity allocated to fulfillments
quantityAvailable•Int!Quantity available
quantityOnHand•Int!Quantity on hand
serialNumbers•SerialNumberConnection!Serial numbers linked to the stock
updatedAt•DateTimeTz!When the stock was last updated.
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.