adjustInventory - Inventory Next Module Reference
This documentation provides a reference to the adjustInventory
method. This belongs to the Inventory Next Module.
This method adjusts the inventory quantity of an item in a location.
Example
Parameters
inventoryItemId
stringRequiredThe inventory item's ID.
locationId
stringRequiredThe location's ID.
adjustment
numberRequiredthe adjustment to make to the quantity.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
The updated inventory level.
Was this section helpful?