OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Order Product

AI-generated

Summary

Updates an OnPrintShop order product with the supplied dimensions and SetOrderProductInput fields. This is a production-impacting mutation; Safe Mode blocks mutations in the Complete API, while in legacy actions it reduces nested response fields.

Inputs

  • Order Product ID — Numeric ID of the order-product line to update. The node omits this argument when it is 0.
  • Width — Width to send with the mutation; the node omits it when it is 0.
  • Height — Height to send with the mutation; the node omits it when it is 0.
  • Input (JSON) (required) — A JSON object for SetOrderProductInput, defaulting to {"lock_price":0,"comment":"","notify_customer":0}. Supply the other fields needed for the update here.
  • Safe Mode — Controls mutation behavior in Complete API mode; for this legacy action, Safe Mode reduces nested response fields.

Output shape

A single n8n output item containing the mutation result object.

The returned object includes result, message, and id. GraphQL errors are raised as node errors; with Continue On Fail enabled, an error object is returned for the input item.

Links

Discussion