update - Stock Location Next Module Reference
This documentation provides a reference to the update
method. This belongs to the Stock Location Next Module.
update(id, input, context?): Promise<StockLocationDTO>
This method updates existing stock locations.
Example
Parameters
id
stringRequiredThe attributes to update in the stock locations.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
The updated stock locations.
update(selector, input, context?): Promise<StockLocationDTO[]>
This method updates existing stock locations matching the specified filters.
Example
Parameters
The filters specifying which stock locations to update.
The attributes to update in the stock locations.
context
ContextA context used to share resources, such as transaction manager, between the application and the module.
context
ContextReturns
The updated stock locations.
Was this section helpful?