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.

expiryDateDate

New expiry date. Omit to keep the current expiry date; null removes it.

lotNumberString

New lot number. Omit to keep the current lot number; null removes it.

Returns

createdAtDateTimeTz!

When the stock was created.

expiryDateDate

Expiry date of perishable goods

idID!

Unique primary key.

locatableLocatable

Locatable

lotNumberString

Lot 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!