OnPrintShop Product Builder icon

OnPrintShop Product Builder

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

Actions62

Complete API → Set Products Attribute Price

AI-generated

Summary

Sets product attribute pricing records in OnPrintShop using the Complete API. Provide one or more input items with pricing and product or attribute identifiers; choose which response fields to return.

Inputs

  • Safe Mode — When enabled, blocks mutations in the Complete API.
  • Input Mode — Choose Fields to enter one or more input items, or JSON Object to supply the API arguments as JSON.
  • Inputs (required) — In Fields mode, add one or more items with optional attribute_id, attribute_price_id, attributes_price, delete, extra_page_price, product_id, site_admin_markup, size_from, size_id, size_to, and vendor_price values.
  • Arguments JSON — In JSON Object mode, supply the API arguments.
  • Partial Response — Choose whether errors fail the operation or partial data is returned; returned partial results may contain failures.
  • Return Fields Mode — Return all fields or select a custom response field set.
  • Return Fields — When using Custom Selection, choose from ID, Index, Message, and Result.

Output shape

A response record or records containing selected fields from the API result.

The exposed response fields are ID, Index, Message, and Result. Exact cardinality and error behavior are not shown in the provided source.

Examples

Example 1: Prepare a low-risk update

Set Safe Mode=true, enter the product and attribute identifiers, and supply new pricing values.

Links

Discussion