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
idstringRequiredThe attributes to update in the stock locations.
contextContextA context used to share resources, such as transaction manager, between the application and the module.
contextContextReturns
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.
contextContextA context used to share resources, such as transaction manager, between the application and the module.
contextContextReturns
The updated stock locations.
Was this section helpful?