OnPrintShop Inventory icon

OnPrintShop Inventory

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

Complete API → Product Stocks

AI-generated

Summary

Retrieves product stock data from the Complete API for a required stock type, optionally filtered by product ID and limited with pagination. Choose the arguments as individual fields or provide them as a JSON object, then select which response fields to return.

Inputs

  • Type (required) — Stock type: Product Option or Product. Available in Fields input mode.
  • Parameters — Optional limit, offset, and product_id filters. Available in Fields input mode.
  • Arguments JSON — Provide the API arguments as a JSON object instead of using individual fields. Available in JSON Object input mode.
  • Return Fields Mode — Return all fields by default, or choose a custom selection.
  • Return Fields — Fields to include when Custom Selection is enabled; options include current count, totals, and product stock details.
  • Safe Mode — Complete API setting that blocks mutations; this read operation is described as reading API data without intentionally changing records.

Output shape

API response data for product stocks

The available return-field selections include currentCount, totalProductStocks, and nested productStocks details. The supplied source file only delegates to the shared domain node; it does not show the runtime request or exact response envelope.

Links

Discussion