OnPrintShop Product Builder icon

OnPrintShop Product Builder

Create and maintain OnPrintShop products, categories, prices, sizes, pages, SKUs, and master options

Actions62

Complete API → Set Quantity Based Attribute Price

AI-generated

Summary

Set quantity-based attribute prices in OnPrintShop using one or more input rows. Choose whether to provide rows through the node’s fields or as a JSON object, then select which response fields to return.

Inputs

  • Inputs (required) — One or more rows with optional attribute ID, attribute price, delete flag, price ID, quantity and size ranges, site admin markup, and vendor price.
  • Input Mode — Choose Fields to enter rows using the provided controls, or JSON Object to provide the API arguments as JSON.
  • Partial Response — Choose whether errors fail the operation or partial results are returned; returned partial results may contain failures that need reconciliation.
  • Return Fields Mode — Return all available fields or select a custom set.
  • Return Fields — When Custom Selection is enabled, choose any of ID, Index, Message, or Result.
  • Safe Mode — Blocks mutations in Complete API mode. Since this operation writes to OnPrintShop, leave it disabled to perform the update.

Output shape

A result for the submitted quantity-based attribute price inputs.

The response can include ID, Index, Message, and Result fields; the available fields depend on the selected return mode. Partial data may contain failures.

Examples

Example 1: Set prices for quantity ranges

Submit one or more input rows with the relevant attribute and price identifiers, quantity range, and price values. Choose JSON Object mode to supply API arguments directly, or enter rows through Fields mode.

Links

Discussion