OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Quantity Based Attribute Price

AI-generated

Summary

Set quantity-based attribute prices in OnPrintShop by sending one or more input records to the setQuantityBasedAttributePrice mutation. Choose Fields or JSON Object input mode, then review each mutation result before relying on the write.

Inputs

  • Safe Mode — When enabled, blocks mutations in Complete API; leave disabled to perform this write.
  • Input Mode — Choose Fields to add repeatable input rows or JSON Object to supply the mutation arguments as JSON.
  • Inputs (required) — In Fields mode, add one or more rows with optional attribute ID, attribute price, delete flag, price ID, quantity-from and quantity-to bounds, site admin markup, size-from and size-to bounds, and vendor price. Each field is optional in the UI.
  • Arguments JSON — In JSON Object mode, provide the mutation arguments. The source requires inputs to be a JSON array of input objects; bare objects and wrapper objects are rejected.
  • Partial Response — Choose Fail on Errors or Return Partial Data for partial mutation results. Partial results may include failures that need reconciliation.
  • Return Fields Mode — Choose all response fields or a custom selection.
  • Return Fields — In Custom Selection mode, select any of id, index, message, or result.

Output shape

A list of mutation result records, typically with index, result, message, and id fields.

The mutation accepts a batch of inputs. The node surfaces GraphQL errors as execution errors; partial-result handling and selected return fields can affect the response.

Links

Discussion