OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Order Product Image From URL

AI-generated

Summary

Set an order product’s image from a URL by sending the required image input and optional processing flags to OnPrintShop. Use this operation to attach remotely accessible image files to a specific order product.

Inputs

  • Order Product ID (required) — A positive order product ID identifying the product to update.
  • Input Mode (required) — Choose Fields to enter the input in the node’s field editor, or JSON Object to provide the mutation arguments as JSON.
  • Input (required) — The required SetOrderProductImageFromUrlInput payload. In Fields mode, provide the imagefiles JSON scalar; in JSON Object mode, supply the arguments JSON. The image URL details must follow the OnPrintShop API payload format.
  • Parameters — Optional flags: Add Version File Only, Ask For Approval, Order Product ID, and Update Ziflow Link Only. The operation also takes its order product ID from the dedicated ID field.
  • Partial Response — Choose whether to fail on API errors or return partial data when the response includes partial results.
  • Return Fields Mode — Return all selected mutation fields or choose a custom selection.
  • Return Fields — When Custom Selection is enabled, select ID, Message, and/or Result.
  • Safe Mode — The UI describes this as blocking Complete API mutations. The execution path for this operation is a mutation; verify the installed node’s behavior before relying on Safe Mode to prevent the write.

Output shape

A single n8n item containing the mutation result object, typically with result, message, and id fields.

The node requests result, message, and id from OnPrintShop. GraphQL errors or an invalid order product ID raise an error; with Continue On Fail enabled, an error object may be returned instead. The UI offers partial-response and return-field controls, but the source path shown does not apply those controls to this mutation.

Links

Discussion