OnPrintShop Orders icon

OnPrintShop Orders

Read and update OnPrintShop orders, order products, shipments, batches, quotes, and statuses

Mutation → Add Proof Version

AI-generated

Summary

Adds a proof version to an order product, writing to its proof history. Provide the order product ID and JSON input with an imagefiles array containing version metadata; the two numeric flags control whether to add only the version file and whether to ask for approval.

Inputs

  • Safe Mode — Defaults to false. For Complete API mutations, blocks the mutation when enabled. The supplied source pack does not expose how this operation selects or executes its API action.
  • Order Product ID — Numeric ID of the order product to receive the proof version; defaults to 0.
  • Add Version File Only — Defaults to 1. Set to 1 to add only a version file.
  • Ask For Approval — Defaults to 0. Set to 1 to ask for approval.
  • Input (JSON) (required) — SetOrderProductImageInput JSON, defaulting to { "imagefiles": [] }. Supply an imagefiles array containing version metadata.

Output shape

Not established by the supplied source pack.

The source pack includes only the node entry class and does not include the domain configuration or runtime implementation, so it does not show the API call or returned data shape.

Links

Discussion