OnPrintShop Inventory icon

OnPrintShop Inventory

Read and update product stock, product stock lists, and master-option stock

Master Option Stock → Add Stock Config (Staging)

AI-generated

Summary

Creates master-option stock configurations in staging by submitting the required JSON input. Use the combination matrix to verify option and attribute pairs before creating configurations; invalid pairs fail.

Inputs

  • Safe Mode — Defaults to false. The property says safe mode blocks mutations in the Complete API; it does not specify behavior for this staging operation.
  • Input (JSON) (required) — An AddMasterOptionStockConfigInput object. The example provides stock_type and combinations, each with option_ids, attribute_ids, and stock. Verify the combinations against the combination matrix first.

Output shape

Not established by the provided source pack.

The pack only shows the node delegating its description to shared domain code; it does not include the operation implementation or response handling.

Examples

Example 1: Add configurations for stock type 3

Submit JSON with stock_type 3 and a combinations array containing option_ids "50,52", attribute_ids "137,1017", and stock 1000. Confirm the option and attribute pairing in the combination matrix first.

Links

Discussion