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