OnPrintShop Master Options icon

OnPrintShop Master Options

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

Stock → Set Settings

AI-generated

Summary

Set master option stock settings in OnPrintShop by providing an array of stock setting objects either via form fields or as a JSON array.

Inputs

  • Input Mode (required) — Choose whether to input stock settings as individual form fields or as a JSON object array.
  • Stock Settings (required) — Collection of stock settings, each including Master Option ID (option_id), Allow Out-of-Stock Orders (allow_order_out_of_stock), and Notify Quantity (notify_quantity). This is used when Input Mode is 'Form Fields'.
  • Stock Settings JSON (required) — A JSON array of SetMasterOptionStockSettingsInput objects for batch updating stock settings. Required when Input Mode is 'JSON Object Array'.

Output shape

a list of result objects for each stock setting update operation

Each result object includes index, result status, message, and id. If multiple stock settings are provided, each results in one item in the output list.

Links

Discussion