OnPrintShop Master Options icon

OnPrintShop Master Options

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

Complete API → Get Master Option Stock History

AI-generated

Summary

Retrieve the stock history records for a specific master option stock configuration from the OnPrintShop Complete API.

Inputs

  • Config ID (required) — The ID of the stock configuration whose history is to be fetched.
  • Limit — Maximum number of history records to return. Optional.
  • Offset — Starting record offset for pagination. Optional.

Output shape

a list of history records containing fields such as id, configuration id, stock change amount, change type, comments, and date added, along with total and current count metadata.

Requires Config ID to be greater than zero; supports pagination via limit and offset parameters; returns data in a standard data array under 'history' along with totalRecords and currentCount counts.

Links

Discussion