Actions62
- Markup Master Actions
- Master Option Range Actions
- Master Option Tag Actions
- Mutation Actions
- Assign Options
- Set Additional Option (Beta)
- Set Additional Option Attributes (Beta)
- Set Markup Master (Legacy Alias)
- Set Master Option
- Set Master Option Attribute Price
- Set Master Option Attributes
- Set Master Option Rules (Legacy Alias)
- Set Master Option Tags
- Set Option Formulas
- Set Option Group
- Set Product
- Set Product Category
- Set Product Image Gallery
- Set Product Option Rules
- Set Product Pages
- Set Product Price
- Set Product Size
- Set Product SKU (Staging)
- Set Products Attribute Price (Beta)
- Set Quantity Based Attribute Price (Beta)
- Option Formula Actions
- Option Group Actions
- Product Actions
- Product Additional Option Actions
- Product Additional Attribute Price Actions
- Quantity Based Attribute Price Actions
- Complete API Actions
- Get Custom Formula
- Get Master Option Range
- Get Master Option Tag
- Get Option Group
- Set Additional Option
- Set Additional Option Attributes
- 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 Tag
- Set Option Group
- Set Product
- Set Product Category
- Set Product Option Rules
- Set Product Pages
- Set Product Price
- Set Product Size
- Set Product SKU
- Set Products Attribute Price
- Set Products Image Gallery
- Set Quantity Based Attribute Price
Mutation → Set Master Option Rules (Legacy Alias)
AI-generatedSummary
Set or update master option rules for products by providing a complete ProductOptionRulesInput JSON object to define rule details such as IDs, conditions, and visibility parameters.
Inputs
- Safe Mode — Boolean to block mutations in Complete API or reduce nested response fields in legacy actions (default false).
- Input (JSON) (required) — Required JSON object defining the master option rule details including rule ID, name, type, option and attribute IDs for source and hide lists, parameters, conditions, and other rule-specific settings.
Output shape
a JSON object representing the created or updated master option rule, reflecting the input rule structure with confirmation of applied changes
The mutation response contains the rule data matching the input shape. Use Safe Mode to limit side effects or response size. Legacy reduced response behavior applies when Safe Mode is enabled in legacy contexts.
Examples
Example 1: Create a new master option rule to hide certain option attributes based on parameter conditions.
Set Safe Mode false (default), provide the Input JSON defining rule_id, rule_name, rule_type, hide_option_attribute_ids, custom_param, opt_textbox_conditions, and other relevant fields.