OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Order Product

AI-generated

Summary

Update an existing OnPrintShop order product with the Set Order Product GraphQL mutation. Provide its ID, optionally change its width and height, and supply the required input fields; the operation writes to OnPrintShop unless Safe Mode blocks mutations.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API.
  • Input Mode — Choose Fields to enter the input fields separately, or JSON Object to provide them together.
  • Input (required) — SetOrderProductInput object. Fields mode exposes optional comment, extra_json_info, is_extra_info, lock_price, and notify_customer fields.
  • Parameters — Optional order_product_id (integer), width, and height values. The ID selects the order product to update; dimensions are sent only when nonzero.
  • Arguments JSON — In JSON Object mode, provide the mutation input arguments as JSON.
  • Partial Response — Choose whether GraphQL partial results containing errors fail the operation or return partial data.
  • Return Fields Mode — Choose all mutation response fields or a custom selection.
  • Return Fields — Custom response selection: id, message, and result.

Output shape

A single n8n output containing one item with the mutation result.

The response fields are id, message, and result; custom selection can limit these fields. GraphQL errors fail the operation by default, while Return Partial Data may return partial results. The ID, width, and height are optional in the UI and are omitted from the mutation variables when zero.

Links

Discussion