- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
updatePriceSets - Pricing Module Reference
This documentation provides a reference to the updatePriceSets
method. This belongs to the Pricing Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updatePriceSets(id, data, sharedContext?): Promise<PriceSetDTO>#
This method is used to update a price set.
Example#
Parameters#
id
stringThe ID of the price set to be updated.
The attributes of the price set to be updated
Returns#
Promise
Promise<PriceSetDTO>The updated price set.
Promise
Promise<PriceSetDTO>updatePriceSets(selector, data, sharedContext?): Promise<PriceSetDTO[]>#
This method is used to update a list of price sets determined by the selector filters.
Example#
Parameters#
selector
FilterablePriceSetPropsThe filters that will determine which price sets will be updated.
selector
FilterablePriceSetPropsThe attributes to be updated on the selected price sets
Returns#
Promise
Promise<PriceSetDTO[]>The updated price sets.
Promise
Promise<PriceSetDTO[]>Was this page helpful?