Create stock mutation

POST

https://api.pack.cloud/v1/warehouses/{warehouseId}/stock-mutations

Request

Path parameters

warehouseIdstring

Payload

locatable_idstringnullrequired
ID of the locatable
locatable_typestringnullrequired
Type of the locatable
Allowed values:binstock_location
product_idstringrequired
ID of the product
deltaintegerrequired
The change of quantity
reasonstringnull
Manual given reason for stock mutation
expiry_datestringnull
Expire date of perishable products
lot_numberstringnull
Lot number perishable products
Serial numbers
codestring
Serial number

Response

Created

Body

idstring
ID of the stock mutation
locatable_idstringnull
ID of the locatable
locatable_typestringnull
Type of the locatable
Allowed values:binpickliststock_location
product_idstring
ID of the product
stock_idstring
ID of the stock
deltainteger
The change of quantity
reasonstringnull
Manual given reason for stock mutation
expiry_datestringnull
Expire date of perishable products
lot_numberstringnull
Lot number perishable products
created_atstring
Creation time of resource
Creator of stock mutation

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.