update - Inventory Next Module Reference
This documentation provides a reference to the update
method. This belongs to the Inventory Next Module.
update(input, context?): Promise<InventoryItemDTO>
This method updates an existing inventory item.
Example
Parameters
The attributes to update in the inventory item.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
The updated inventory item.
update(input, context?): Promise<InventoryItemDTO[]>
This method updates existing inventory items.
Example
Parameters
The attributes to update in the inventory items.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
The updated inventory items.
Was this section helpful?