update - Store Module Reference
This documentation provides a reference to the update
method. This belongs to the Store Module.
update(id, data, sharedContext?): Promise<StoreDTO>
This method updates an existing store.
Example
Parameters
id
stringRequiredThe ID of the store.
The attributes to update in the store.
Returns
The updated store.
update(selector, data, sharedContext?): Promise<StoreDTO[]>
This method updates existing stores matching the specified filters.
Example
Parameters
The filters specifying which stores to update.
The attributes to update in the store.
Returns
The updated stores.
Was this section helpful?