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

AI-generated

Summary

Set or update one or more OnPrintShop master options by supplying detailed input objects describing each master option's properties.

Inputs

  • Inputs (required) — An array of MasterOptionInput objects specifying master option details such as ID (0 to create), title, type, pricing method, status, and other optional fields. Supports either form fields or a JSON object array input mode.
  • Partial Response — Option to fail on errors or return partial data containing failures; workflows should reconcile all rows before further writes.
  • Return Fields Mode — Choose to return all available fields or a custom selection of fields in the response.
  • Return Fields — Specify which fields to return when using custom selection mode, such as external reference, ID, index, message, or result.

Output shape

a list of result objects, each corresponding to an input master option, containing fields like index, result status, message, ID, and external reference if requested.

Inputs are batch-processed; errors per item depend on the Partial Response option. Supplying master_option_id as 0 creates new master options, any other ID updates or deletes existing options. Optional fields customize the master option's behavior and metadata.

Links

Discussion