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 Attributes
AI-generatedSummary
Set master option attributes in the OnPrintShop system by providing an array of attribute objects to create, update, or delete. Accepts inputs either as structured form fields or as a JSON array.
Inputs
- Inputs (required) — An array of master option attribute objects containing fields such as Master Attribute ID, Master Option ID, Label, Attribute Key, Description, Image Filename or URL, Status, Sort Order, Default Attribute flag, Setup Cost, Multiplier, Weight, Material Thickness, Production Days, Production Description, Op Status ID, Hex Color, and a Delete flag.
- Input Mode (required) — Choose between providing attribute details as form fields (structured collection) or as a raw JSON object array.
- Partial Response — Choose how the operation handles partial failures: either fail on any error or return partial data with errors included.
- Return Fields Mode — Select whether to return all response fields or a custom selection.
- Return Fields — Specify which response fields to include when using custom selection (ID, Index, Message, Result).
Output shape
a list of result objects corresponding to each input attribute object
Each output item contains fields such as index, result status, message, and ID returned from OnPrintShop. Partial failure behavior depends on the 'Partial Response' setting.