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 → Update Master Option Stock
AI-generatedSummary
Update master option stock quantities in OnPrintShop by crediting or debiting specified stock configurations.
Inputs
- Inputs (required) — An array of stock change objects, each specifying the configuration ID, quantity to credit or debit, change type ('C' for credit or 'D' for debit), and optional comments.
- Input Mode (required) — Choose between entering multiple stock changes via form fields or a JSON object array.
- Partial Response — Determines whether to fail on any error or return partial data when batch updates contain failures.
- Return Fields Mode — Choose between returning all response fields or a custom selection of fields such as ID, Index, Message, and Result.
Output shape
a list of result items, each including the index, result status, message, and ID for corresponding stock updates
Accepts multiple stock update inputs; returns batch results reflecting success or failure per stock change entry.