Actions57
- Batch Actions
- Mutation Actions
- Order Actions
- Order Detail Actions
- Order Product Actions
- Order Shipment Actions
- Quote Actions
- Quote Product Actions
- Ship To Multiple Actions
- Status Actions
- Complete API Actions
- Get Batch
- Get Quote
- Order Billing Details
- Order Blind Details
- Order Delivery Details
- Order Products
- Order Shipment Details
- Order Status
- Order Summary
- Orders
- Quoteproduct
- Ship To Multiple Address
- Modify Order Product
- Set Batch
- Set Batch Job
- Set Order
- Set Order Product
- Set Order Product Image
- Set Order Product Image From URL
- Set Product Design
- Set Quote
- Set Shipment
- Update Order Status
Complete API → Set Order Product Image
AI-generatedSummary
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.