OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Product Design

AI-generated

Summary

Updates an OnPrintShop order product with its Ziflow design and preflight links. Use it to attach or change those links for a specific order product.

Inputs

  • Safe Mode — Blocks mutations when enabled; defaults to off.
  • Input Mode — Choose Fields to enter parameters separately, or JSON Object to provide them together.
  • Parameters — In Fields mode, set the order product ID and optionally the Ziflow Link and Ziflow Preflight Link. The ID is numeric; the links are strings.
  • Arguments JSON — In JSON Object mode, provide the mutation arguments as a JSON object, such as {"order_product_id":123,"ziflow_link":"https://…","ziflow_preflight_link":"https://…"}.
  • Partial Response — Choose whether errors fail the operation or partial results are returned.
  • Return Fields Mode — Return all available mutation response fields or select specific fields.
  • Return Fields — When Custom Selection is chosen, select ID, Message, or Result.

Output shape

A single item containing the mutation result.

The response can include id, message, and result fields, subject to the selected return fields. GraphQL errors fail the operation unless partial response handling is configured to return partial data. This is a write to OnPrintShop; Safe Mode blocks the mutation.

Links

Discussion