OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Master Option

AI-generated

Summary

Create or update one or more OnPrintShop master options by sending a batch of MasterOptionInput objects to the Complete API. The mutation returns a result row for each input, including its index, result, message, ID, and external reference.

Inputs

  • Safe Mode — The Complete API safety toggle; when enabled, it blocks mutations, so leave it off to run this write.
  • Input Mode — Choose Fields to build input rows from the node form, or JSON Object to supply the mutation arguments directly.
  • Inputs (required) — Required list of master option inputs. In Fields mode, add one or more rows and set the applicable fields, such as Master Option ID, Title, Description, option type, status, pricing and display settings, and external reference. In JSON Object mode, provide the inputs array of MasterOptionInput objects in Arguments JSON.
  • Arguments JSON (required) — In JSON Object mode, provide the mutation arguments, including inputs as an array of MasterOptionInput objects. The source requires a JSON array; a single object or wrapper is rejected.
  • Partial Response — Choose whether to fail on errors or return partial data. Partial results may include failures; reconcile each row before further writes.
  • Return Fields Mode — Choose all mutation response fields or a custom selection.
  • Return Fields — When custom selection is enabled, select from External Ref, ID, Index, Message, and Result.

Output shape

A list of mutation result items, one per returned row.

Each result includes the selected response fields from index, result, message, id, and external_ref. GraphQL errors are raised as node errors; partial-response behavior is configurable.

Links

Discussion