Actions42
- Attribute Actions
- Attribute Price Actions
- Formula Actions
- Master Option Actions
- Option Group Actions
- Range Actions
- Rule Actions
- Stock Actions
- Tag Actions
- Complete API Actions
- Get Custom Formula
- Get Master Option Combination Matrix
- Get Master Option Range
- Get Master Option Stock Configs
- Get Master Option Stock History
- Get Master Option Tag
- Get Option Group
- Product Master Options
- Add Master Option Stock Config
- Delete Master Option Stock Config
- Set Assign Options
- Set Custom Formula
- Set Master Option
- Set Master Option Attribute Price
- Set Master Option Attributes
- Set Master Option Range
- Set Master Option Stock Settings
- Set Master Option Tag
- Set Option Group
- Update Master Option Stock
Complete API → Set Master Option Range
AI-generatedSummary
Set the range values for a specific master option by providing the master option ID and an array of range objects. Optionally delete all existing ranges before setting new ones.
Inputs
- setRangeOptionId (required) — The master option ID to which the range values will be applied.
- deleteAllRanges — Boolean flag to delete all existing ranges for the master option before setting new ranges.
- ranges — An array of range objects defining the 'from' and 'to' values and optional delete flag for each range.
Output shape
a single object containing the result status, message, and ID of the master option range set operation
The operation returns fields: result (success indicator), message (operation details), and id (master option range ID). Only one input object can be processed per execution; partial responses are controlled by workflow settings.
Examples
Example 1: Set ranges for a master option with ID 123
Provide 'setRangeOptionId' as 123, set 'ranges' with a list of 'from_range' and 'to_range' values, optionally enable 'deleteAllRanges' to clear existing ranges first.