Actions42
- Attribute Actions
- Attribute Price Actions
- Formula Actions
- Master Option Actions
- Option Group Actions
- Range Actions
- Rule Actions
- Stock Actions
- Tag Actions
- Complete API Actions
- Get Custom Formula
- Get Master Option Combination Matrix
- Get Master Option Range
- Get Master Option Stock Configs
- Get Master Option Stock History
- Get Master Option Tag
- Get Option Group
- Product Master Options
- Add Master Option Stock Config
- Delete Master Option Stock Config
- Set Assign Options
- Set Custom Formula
- Set Master Option
- Set Master Option Attribute Price
- Set Master Option Attributes
- Set Master Option Range
- Set Master Option Stock Settings
- Set Master Option Tag
- Set Option Group
- Update Master Option Stock
Complete API → Set Master Option Stock Settings
AI-generatedSummary
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.