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
Range → Create, Update, or Delete
AI-generatedSummary
Create or update ranges for a master option, delete selected ranges, or delete all its ranges through OnPrintShop’s setMasterOptionRange mutation.
Inputs
- Master Option ID (required) — The master option whose ranges to change.
- Delete All Ranges — When enabled, sends
delete: 1with the request to delete all ranges for that option. - Ranges (required) — Add one or more ranges with required From and To values. Set Delete to Yes on a row to delete that range; otherwise the row is sent for creation or update.
Output shape
A list of n8n items containing the mutation result.
The result is produced from the
setMasterOptionRangeresponse; the source does not specify its fields. Each incoming item triggers a mutation. Errors stop execution unless Continue On Fail is enabled, in which case an error item is returned for that input.