OnPrintShop Master Options icon

OnPrintShop Master Options

Manage OnPrintShop master options, attributes, formulas, rules, ranges, prices, tags, groups, and stock

Complete API → Set Master Option Attributes

AI-generated

Summary

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.

Links

Discussion