OnPrintShop Inventory icon

OnPrintShop Inventory

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

Product Stock → Get Many

AI-generated

Summary

Retrieves product stock records across products, optionally filtered by product ID and stock type. Choose requested stock fields and optionally fetch every page for an audit or sync.

Inputs

  • Safe Mode — Whether to block mutations in the Complete API; legacy actions retain reduced-response behavior. This read operation makes no mutation.
  • Stock Type (required) — Choose Product for size-based stock or Product Option for size-and-option combinations.
  • Fetch All Pages — When enabled, fetches pages until no more records are available and ignores Limit and Offset.
  • Query Parameters — Optional pagination and filters: Limit (1–250, default 50), Offset (default 0), Page Delay (25–1000 ms, default 50), Page Size (1–250, default 250), and Product ID. Product ID is optional and is not required for Product Option stock.
  • Stock Fields Mode — Select Custom Selection, All Fields, or No Fields for the stock field group. Custom Selection is the default; root GraphQL reads generally require at least one field.
  • Stock Fields — In Custom Selection mode, choose fields such as stock ID, product and size details, credited/debited/current stock, option details, and location. Defaults to all listed fields.

Output shape

A list of product stock records.

The supplied source pack contains only the node entry module; it does not expose the runtime implementation or confirm response details. The properties describe a multi-record stock listing with selectable fields and optional pagination.

Links

Discussion