OnPrintShop Orders icon

OnPrintShop Orders

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

Complete API → Set Order Product Image

AI-generated

Summary

Sets an image for an OnPrintShop order product through the Complete API. Provide the required input object and, optionally, an order product ID and flags controlling version-file, approval, or Ziflow-link behavior.

Inputs

  • Input (required) — Supply the API input object using Fields or JSON Object mode. In Fields mode, the available optional field is Imagefiles, a JSON object or array.
  • Parameters — Optional integer parameters: Add Version File Only, Ask For Approval, Order Product ID, and Update Ziflow Link Only. Defaults to 0.
  • Safe Mode — Defaults to false. In Complete API operations, blocks mutations when enabled.
  • Partial Response — Choose whether errors fail the operation or partial data is returned. Partial results may contain failures.
  • Return Fields Mode — Return all fields or select a custom subset.
  • Return Fields — When Custom Selection is chosen, select ID, Message, and/or Result.

Output shape

A single API response record, or partial data when configured.

The selectable response fields are ID, Message, and Result. The supplied source pack does not expose the operation implementation, so it does not establish the precise response structure or the effects of the integer flags.

Examples

Example 1: Set an order product image

Provide the required API input, including Imagefiles as appropriate, and optionally set Order Product ID and other flags.

Links

Discussion