OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Additional Option Attributes (Beta)

AI-generated

Summary

Create or update attributes for product additional options in OnPrintShop. Provide one or more AdditionalOptionAttributesInput objects as a JSON array or with the Fields input mode; the operation sends them in a GraphQL mutation.

Inputs

  • Safe Mode — Boolean toggle, default false. The UI describes this as blocking Complete API mutations; legacy behavior is described as reducing nested response fields.
  • Input Mode — Choose JSON Array or Fields. Defaults to JSON Array.
  • Inputs (JSON Object Array) (required) — An array of attribute input objects, such as [{...}] for one attribute or [{...},{...}] for a batch. A bare object or wrapper is rejected.
  • Attributes — In Fields mode, add one or more attributes. Each can include Attribute ID, Prod Add Opt ID, Label, Attributes Image URL, and Additional Fields such as attribute key, description, status, sort order, multiplier, setup cost, or metadata. The image URL must be accessible to OnPrintShop and remain available until background processing completes.

Output shape

A single n8n item containing the mutation result object.

The result includes index, result, message, and id when returned by OnPrintShop. The node raises an error for GraphQL errors or invalid JSON/non-array input; with Continue On Fail enabled, it emits an error item instead. Safe Mode behavior is described inconsistently between the operation properties and node source.

Links

Discussion