OnPrintShop Master Options icon

OnPrintShop Master Options

Manage OnPrintShop master options, attributes, formulas, rules, ranges, prices, tags, groups, and stock

Complete API → Set Master Option Attribute Price

AI-generated

Summary

Set master option attribute prices in batch by specifying one or more attribute prices with their associated price details to create, update, or delete entries in OnPrintShop.

Inputs

  • Inputs (required) — A collection of MasterOptionAttributePriceInput objects containing the attribute ID, optional delete flag, and nested prices (each with range ID and price details). Use multiple items for batch operations.
  • Input Mode (required) — Choose between submitting inputs as individual form fields or as a JSON object array.
  • Partial Response — Choose whether to fail the operation entirely on errors or to return partial data including failures.
  • Return Fields Mode — Select to return all fields or a custom subset of fields in the response.
  • Return Fields — When using custom return fields mode, specify which fields to return from the set operation's results (ID, index, message, result).

Output shape

a list of result items for each input attribute price, each including index, result status, message, and ID fields as applicable

Input supports batch updates of multiple attribute prices. Partial response option controls error handling behavior. Return fields can be customized to limit output data.

Examples

Example 1: Update multiple master option attribute prices with price details in a batch

Provide one or more entries in 'Inputs' with each attribute ID and corresponding prices array, then execute to apply changes on OnPrintShop.

Links

Discussion