2 augustus 2024
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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
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
workstation_idstringnull
ID of the workstation
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