OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Option Group

AI-generated

Summary

Create or update an OnPrintShop option group by sending an OptionGroupInput object to the setOptionGroup GraphQL mutation. Choose Fields mode to enter the exposed option group properties, or JSON Object mode to supply the input object directly; Safe Mode blocks this mutation when enabled.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API.
  • Input Mode — Choose Fields or JSON Object for the mutation input.
  • Input (required) — In Fields mode, provide any applicable option group values: delete, display style, collapse setting, group name, option count, option group ID, sort order, and use-for value. These fields are optional in the UI.
  • Arguments JSON — In JSON Object mode, provide the OptionGroupInput object sent as the mutation's input argument.
  • Partial Response — Choose whether to fail on errors or return partial data. Partial results may contain failures; reconcile each row before further writes.
  • Return Fields Mode — Choose all response fields or a custom selection.
  • Return Fields — In Custom Selection mode, select id, message, and/or result.

Output shape

A single output item containing the mutation response object, with result and message fields.

The source mutation requests only result and message; although the UI offers id as a return field, the source does not request it. GraphQL errors are raised as node errors.

Links

Discussion