- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateInventoryLevels - Inventory Next Module Reference
This documentation provides a reference to the updateInventoryLevels
method. This belongs to the Inventory Next Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updateInventoryLevels(updates, context?): Promise<InventoryLevelDTO[]>#
This method updates existing inventory levels.
Example#
Parameters#
updates
UpdateInventoryLevelInput[]The list of The attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
updates
UpdateInventoryLevelInput[]A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<InventoryLevelDTO[]>The updated inventory levels.
Promise
Promise<InventoryLevelDTO[]>updateInventoryLevels(updates, context?): Promise<InventoryLevelDTO>#
This method updates an existing inventory level.
Example#
Parameters#
updates
UpdateInventoryLevelInputThe attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
updates
UpdateInventoryLevelInputA context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<InventoryLevelDTO>The updated inventory level.
Promise
Promise<InventoryLevelDTO>Was this page helpful?