OnPrintShop Master Options icon

OnPrintShop Master Options

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

Stock → Add Configuration

AI-generated

Summary

Creates an OnPrintShop master option stock configuration by submitting its stock type, option ID, default stock, and any multiplier, attribute-stock, or combination-stock rows to the API.

Inputs

  • Stock Type (required) — Choose Option Wise, Attribute Wise, or Combination Wise.
  • Master Option ID — Master option to configure; defaults to 0.
  • Default Stock — Default stock quantity; defaults to 1.
  • Use Custom Multipliers — When enabled, sends custom_multiplier as 1; otherwise sends 0.
  • Apply to All — Numeric apply-to-all setting; defaults to 0.
  • Multipliers — Optional rows of Attribute ID and Multiplier.
  • Attribute Stock — Optional rows mapping Attribute ID to Stock.
  • Combination Stock — Optional rows with Option IDs, Attribute IDs, and Stock.

Output shape

A list of result items from the addMasterOptionStockConfig mutation.

Each returned item is paired with its input item. The API result includes index, result, message, and id fields; empty optional collections are omitted from the submitted input.

Links

Discussion