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
Complete API → Set Master Option Attribute Price
AI-generatedSummary
Set or update master option attribute prices in the OnPrintShop Complete API by providing one or more input entries detailing attribute IDs, price values, and optional deletion flags.
Inputs
- safeMode — Boolean to block mutations in the Complete API. Defaults to false.
- apiInputMode (required) — Select input mode: 'fields' to input via structured UI fields or 'json' to provide raw JSON for inputs.
- api_inputs (required) — When using 'fields' input mode, provide an array of MasterOptionAttributePriceInput items including optional fields 'attr_id' (integer), 'delete' (integer flag), and 'prices' (array of JSON price objects).
- apiArgumentsJson (required) — When using 'json' input mode, provide the raw JSON object complying with the MasterOptionAttributePriceInput array schema.
- apiPartialResponse — Specify behavior on partial response failures: fail entirely or accept partial data. Defaults to 'fail'.
- apiReturnMode — Choose whether to return all fields or a custom selection of response fields. Defaults to 'all'.
- apiReturnFields — When using custom return mode, select which response fields to include: ID, Index, Message, Result.
Output shape
a JSON object or array describing the result of the set operation on master option attribute prices, reflecting success or failure per input item.
The actual response shape varies based on 'apiReturnMode' and 'apiReturnFields' configuration. Partial failures are controlled by the 'apiPartialResponse' setting. Use 'Safe Mode' to avoid mutations during testing or validation.