OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Modify Order Product (Beta)

AI-generated

Summary

Modify an OnPrintShop order’s product data by sending an order ID and a ModifyOrderProductInput JSON object to the modifyOrderProduct GraphQL mutation. The operation is marked Beta; read the current order product state before using it.

Inputs

  • Order ID (required) — Numeric OnPrintShop order ID passed as the mutation’s orderid.
  • Input (JSON) (required) — A JSON object matching ModifyOrderProductInput; its fields determine the product changes. The default is {}.
  • Safe Mode — Global toggle. For Complete API operations, Safe Mode blocks mutations; this operation’s legacy handler sends the mutation when selected. Leave off to perform the update.

Output shape

A single n8n output item containing the mutation result object.

The result includes the fields requested by the node: index, result, message, and id. GraphQL errors become node errors (or an error item when Continue On Fail is enabled).

Links

Discussion