OnPrintShop Master Options icon

OnPrintShop Master Options

Manage OnPrintShop master options, attributes, formulas, rules, ranges, prices, tags, groups, and stock

Stock → Get History

AI-generated

Summary

Retrieve paginated stock history for a stock configuration in OnPrintShop.

Inputs

  • Config ID (required) — Positive stock configuration ID whose history to return. Values of 0 or less cause an error.
  • Limit — Maximum number of history records to return; defaults to 50.
  • Offset — Starting record offset; defaults to 0.

Output shape

A list of items containing the stock history query result.

The result includes history records with ID, configuration ID, stock change, change type, comments, and date added, plus totalRecords and currentCount. Pagination is controlled by Limit and Offset.

Links

Discussion