GraphQL API
Warehouse API
Warehouse / Stock mutations

stockMutationCreate

Create a new stock mutation

Arguments

1 argument
deltaInt

The change of quantity (positive for increase, negative for decrease)

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

reasonString

Manual reason for stock mutation

codeString

Serial number code

Possible return

createdAtDateTimeTz!

When the mutation was created.

createdByEventCreator

Who created this stock mutation

deltaInt!

The change of quantity

expiryDateDate

Expiry date of perishable goods

idID!

Unique primary key.

locatableLocatable

Locatable

lotNumberString

Lot number of perishable goods

reasonString

The reason of mutation

serialNumbersCountInt

Related serial numbers count of the mutation

field[String!]
messageString!