update - Pricing Module Reference
This documentation provides a reference to the update
method. This belongs to the Pricing Module.
update(id, data, sharedContext?): Promise<PriceSetDTO>
This method is used to update a price set.
Example
Parameters
id
stringRequiredThe ID of the price set to be updated.
The attributes of the price set to be updated
Returns
The updated price set.
update(selector, data, sharedContext?): Promise<PriceSetDTO[]>
This method is used to update a list of price sets determined by the selector filters.
Example
Parameters
The filters that will determine which price sets will be updated.
The attributes to be updated on the selected price sets
Returns
The updated price sets.
Was this section helpful?