updateOptions - Product Module Reference
This documentation provides a reference to the updateOptions
method. This belongs to the Product Module.
updateOptions(id, data, sharedContext?): Promise<ProductOptionDTO>
This method is used to update a option.
Example
Parameters
id
stringRequiredThe ID of the option to be updated.
The attributes of the option to be updated
Returns
The updated option.
updateOptions(selector, data, sharedContext?): Promise<ProductOptionDTO[]>
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
The updated options.
Was this section helpful?