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 Stock Settings

AI-generated

Summary

Update stock settings for one or more master options in OnPrintShop by specifying option IDs, allowing out-of-stock orders, and notification quantity thresholds.

Inputs

  • Inputs (required) — An array of stock setting objects each requiring option_id (master option ID), allow_order_out_of_stock (0 or 1), and notify_quantity (integer). Input can be provided either as individual form fields or as a JSON array.
  • Input Mode (required) — Choose between providing inputs as separate form fields or as a single JSON object array.
  • Partial Response — Choose behavior for partial results: fail on any error or return partial data with errors.
  • Return Fields Mode — Decide if the node should return all response fields or a custom selection.
  • Return Fields — Specify which fields to return (ID, Index, Message, Result) when using custom selection mode.

Output shape

a list of result objects, each corresponding to an input stock setting update with fields such as id, index, message, and result indicating success or failure.

Results reflect the update outcome for each stock setting input. Partial failures may occur depending on the Partial Response setting. Input validation errors or server errors will cause the operation to throw unless 'continue on fail' is enabled.

Links

Discussion