OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Assign Options

AI-generated

Summary

Assigns product options in OnPrintShop by sending an AssignOptionsInput array to the setAssignOptions GraphQL mutation. Supply one object for a single assignment or multiple objects for a batch; verify product and option IDs before bulk use.

Inputs

  • Safe Mode — Boolean, default false. The operation-scoped UI description says this blocks mutations in the Complete API; for legacy actions it reduces nested response fields. No Safe Mode behavior for this mutation is shown in the source.
  • Inputs (JSON Object Array) (required) — A JSON array of AssignOptionsInput objects, default [{}]. Use [{...}] for one assignment or [{...},{...}] for a batch. Bare objects and wrapper inputs are rejected.

Output shape

A list of assignment result objects, generally one object per input item processed by n8n.

Each result contains the GraphQL fields index, result, message, and id; response field aliases may also be added. GraphQL errors or invalid JSON/input shape raise an operation error unless Continue On Fail is enabled, in which case an error object is returned.

Links

Discussion