Warehouse / Stock
stockCreate
Create a new stock
Arguments
1 argumentexpiryDate•StringExpiry date of perishable goods
locatableId•IDID of the locatable (bin or stock location)
lotNumber•StringLot number of perishable goods
productId•IDID of the product
Possible return
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
quantityAllocated•Int!Quantity allocated to fulfillments
quantityAvailable•Int!Quantity available
quantityOnHand•Int!Quantity on hand
updatedAt•DateTimeTz!When the stock was last updated.
field•[String!]message•String!