OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Quantity Based Attribute Price (Beta)

AI-generated

Summary

Set quantity-based attribute prices in OnPrintShop by sending a batch of price input objects to the setQuantityBasedAttributePrice GraphQL mutation. Provide one object for a single price or multiple objects for a batch.

Inputs

  • Inputs (JSON Object Array) (required) — A JSON array of QuantityBasedAttributePriceInput objects, defaulting to [{}]. Bare objects and wrapper objects are rejected; use [{...}] for one price or [{...},{...}] for a batch.
  • Safe Mode — Boolean toggle, default false. The operation is a Complete API mutation, so enabling Safe Mode blocks it.

Output shape

A single n8n item containing the mutation result object.

The result includes the API's index, result, message, and id fields. GraphQL errors are raised as node errors; with Continue On Fail enabled, an error item is returned instead.

Links

Discussion