OnPrintShop Inventory icon

OnPrintShop Inventory

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

Complete API → Get Master Option Stock History

AI-generated

Summary

Retrieves master option stock history, including the current count and a list of stock changes. Supply optional filters and pagination parameters, then choose which response fields to return.

Inputs

  • Safe Mode — Defaults to off. For Complete API operations, blocks mutations; this operation reads API data without intentionally changing records.
  • Input Mode — Choose Fields to set parameters individually, or JSON Object to provide the arguments as JSON.
  • Parameters — In Fields mode, optional config_id, limit, and offset arguments; each is declared as an integer. The UI defaults each to 0.
  • Arguments JSON — In JSON Object mode, provide the API arguments as a JSON object; the UI defaults to {}.
  • Return Fields Mode — Choose All Fields (default) or Custom Selection.
  • Return Fields — In Custom Selection mode, select from currentCount, history fields (history.change_type, history.comments, history.config_id, history.date_added, history.id, history.stock_change), and totalRecords.

Output shape

A single record

The selectable fields indicate the documented response shape: current count, history entries, and total record count. Exact response structure and pagination behavior are not shown in the provided source.

Links

Discussion