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
AI-generatedSummary
Set or update one or more OnPrintShop master options by supplying detailed input objects describing each master option's properties.
Inputs
- Inputs (required) — An array of MasterOptionInput objects specifying master option details such as ID (0 to create), title, type, pricing method, status, and other optional fields. Supports either form fields or a JSON object array input mode.
- Partial Response — Option to fail on errors or return partial data containing failures; workflows should reconcile all rows before further writes.
- Return Fields Mode — Choose to return all available fields or a custom selection of fields in the response.
- Return Fields — Specify which fields to return when using custom selection mode, such as external reference, ID, index, message, or result.
Output shape
a list of result objects, each corresponding to an input master option, containing fields like index, result status, message, ID, and external reference if requested.
Inputs are batch-processed; errors per item depend on the Partial Response option. Supplying master_option_id as 0 creates new master options, any other ID updates or deletes existing options. Optional fields customize the master option's behavior and metadata.