OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Upload Order Product Files From URLs

AI-generated

Summary

Upload files from direct URLs to an OnPrintShop order product, optionally adding proof-version or approval behavior and updating Ziflow links. The node returns the mutation result and message for the upload.

Inputs

  • Order Product ID (required) — Positive integer ID of the order product to receive the files.
  • Input Mode — Choose Fields to enter files as repeatable rows, or JSON Object to provide the upload input directly.
  • Files — In Fields mode, add one or more files. Each requires a Page Name and a direct File URL that OnPrintShop can access; Ziflow Link and Ziflow Preflight Link are optional.
  • Input JSON — In JSON Object mode, provide the upload input object, normally containing an imagefiles array.
  • Options — Optional numeric flags: Add Version File Only, Ask for Approval, and Update Ziflow Link Only. Each defaults to 0.
  • Safe Mode — The UI declares that Safe Mode blocks Complete API mutations; for legacy actions it reduces nested response fields. The shown URL-upload handler does not check this parameter.

Output shape

A list of n8n items, normally containing one mutation result object per input item.

The result object contains the API's result, message, and id fields. A GraphQL rejection or a non-positive Order Product ID raises an error; with Continue On Fail enabled, the error is returned as an item instead.

Links

Discussion