OnPrintShop Product Builder icon

OnPrintShop Product Builder

Create and maintain OnPrintShop products, categories, prices, sizes, pages, SKUs, and master options

Actions62

Complete API → Set Master Option Attributes

AI-generated

Summary

Set Master Option Attributes sends a write request to OnPrintShop with one or more master option attribute records. Use it to set attribute details such as labels, colors, production settings, status, and related master IDs; verify the IDs and inputs before execution.

Inputs

  • Inputs (required) — Add one or more attribute records. Each record can include Attr Desc, Attribute Key, Attributes Image or URL, Default Attribute, Delete, Hex Color, Label, Master Attribute ID, Master Option ID, Material Thickness, Multiplier, Op Statusid, Production Days, Production Description, Setup Cost, Site Language ID, Sort Order, Status, and Weight. These fields are individually optional in the UI.
  • Input Mode — Choose Fields to build records from the individual inputs, or JSON Object to provide API arguments as JSON.
  • Arguments JSON — JSON arguments for the API request when Input Mode is JSON Object.
  • Safe Mode — Defaults to false. The UI describes this as blocking mutations in Complete API; since this operation writes to OnPrintShop, enabling it blocks the mutation.
  • Partial Response — Choose whether to fail on errors or return partial data. Partial results may contain failures and should be reconciled before another write.
  • Return Fields Mode — Return all fields or choose a custom selection.
  • Return Fields — When custom selection is enabled, select any of ID, Index, Message, or Result.

Output shape

A response from the Complete API mutation.

The UI supports selecting all response fields or a custom subset (ID, Index, Message, Result); it also offers fail-on-errors and return-partial-data behavior. The provided source pack only shows the node wrapper, so it does not establish the precise response envelope or runtime handling of these options.

Links

Discussion