OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Product Price

AI-generated

Summary

Create or update product prices in OnPrintShop by sending one or more ProductPriceInput objects in a GraphQL mutation. Read existing prices first when changing live catalog pricing; Safe Mode blocks mutations in the Complete API.

Inputs

  • Inputs (JSON Object Array) (required) — A JSON array of price objects. Each may include product_price_id, products_id, qty, qty_to, price, vendor_price, size_id, and visible. Use a one-object array for a single price or multiple objects for a batch; bare objects and wrapper inputs are rejected.
  • Safe Mode — Defaults to false. In the Complete API, blocks mutations; for legacy actions, retains reduced-response behavior.

Output shape

A list of items containing the mutation result.

The result includes index, result, message, and id fields when returned by OnPrintShop. GraphQL errors are raised as node errors.

Links

Discussion