- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateInventoryItems - Inventory Next Module Reference
This documentation provides a reference to the updateInventoryItems
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.
updateInventoryItems(input, context?): Promise<InventoryItemDTO>#
This method updates an existing inventory item.
Example#
Parameters#
The attributes to update in the inventory item.
A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<InventoryItemDTO>The updated inventory item.
Promise
Promise<InventoryItemDTO>updateInventoryItems(input, context?): Promise<InventoryItemDTO[]>#
This method updates existing inventory items.
Example#
Parameters#
input
UpdateInventoryItemInput[]The attributes to update in the inventory items.
input
UpdateInventoryItemInput[]A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<InventoryItemDTO[]>The updated inventory items.
Promise
Promise<InventoryItemDTO[]>Was this page helpful?