GraphQL API
Warehouse API
Warehouse / Stock

stockCreate

Create a new stock

Arguments

1 argument
expiryDateString

Expiry date of perishable goods

locatableIdID

ID of the locatable (bin or stock location)

locatableTypeLocatableType

Type of the locatable

BINPICKLISTSTOCK_LOCATION
lotNumberString

Lot number of perishable goods

productIdID

ID of the product

Possible return

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!