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 Attribute Price
AI-generatedSummary
Set master option attribute prices in batch by specifying one or more attribute prices with their associated price details to create, update, or delete entries in OnPrintShop.
Inputs
- Inputs (required) — A collection of MasterOptionAttributePriceInput objects containing the attribute ID, optional delete flag, and nested prices (each with range ID and price details). Use multiple items for batch operations.
- Input Mode (required) — Choose between submitting inputs as individual form fields or as a JSON object array.
- Partial Response — Choose whether to fail the operation entirely on errors or to return partial data including failures.
- Return Fields Mode — Select to return all fields or a custom subset of fields in the response.
- Return Fields — When using custom return fields mode, specify which fields to return from the set operation's results (ID, index, message, result).
Output shape
a list of result items for each input attribute price, each including index, result status, message, and ID fields as applicable
Input supports batch updates of multiple attribute prices. Partial response option controls error handling behavior. Return fields can be customized to limit output data.
Examples
Example 1: Update multiple master option attribute prices with price details in a batch
Provide one or more entries in 'Inputs' with each attribute ID and corresponding prices array, then execute to apply changes on OnPrintShop.