Warehouse / Stock
stockUpdate
Change the expiry date and lot number of all stock on hand. When the location already holds the product with the new expiry date and lot number, the stock is merged into that stock and returned.
Arguments
idID!ID of the stock.
expiryDateDateNew expiry date. Omit to keep the current expiry date; null removes it.
lotNumberStringNew lot number. Omit to keep the current lot number; null removes it.
Returns
createdAtDateTimeTz!When the stock was created.
expiryDateDateExpiry date of perishable goods
idID!Unique primary key.
locatableLocatableLocatable
lotNumberStringLot number of perishable goods
quantityAllocatedInt!Quantity allocated to fulfillments
quantityAvailableInt!Quantity available
quantityOnHandInt!Quantity on hand
updatedAtDateTimeTz!When the stock was last updated.
field[String!]messageString!