OnPrintShop Inventory icon

OnPrintShop Inventory

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

Master Option Stock → Update Stock (Staging)

AI-generated

Summary

Credits or debits master-option stock in staging using the supplied stock movement entries.

Inputs

  • Inputs (JSON Array) (required) — A JSON array of stock movements. Each item uses config_id to identify the master-option configuration, stock_quantity for the amount, change_type (C to credit or D to debit), and optionally comments. Read configuration first to target the intended combination.
  • Safe Mode — Boolean, default false. The UI describes this as blocking mutations in the Complete API; its effect on this staging operation is not specified.

Output shape

A single operation result; the exact returned data shape is not shown in the supplied source.

The operation implementation is inherited from a shared domain node, which is not included in the source pack. The UI describes one array item per stock movement.

Links

Discussion