OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Get Master Option Stock History

AI-generated

Summary

Retrieve paginated master option stock change history for a stock configuration. The operation reads history and does not intentionally change records.

Inputs

  • Safe Mode — Whether to block mutations in Complete API; this read operation does not mutate records.
  • Input Mode — Choose Fields to enter parameters separately, or JSON Object to provide the API arguments as JSON.
  • Config ID — Master option stock configuration ID. Although optional in the UI, the operation requires a nonzero ID at runtime.
  • Limit — Maximum number of history records to request; defaults to 0 in the UI.
  • Offset — Number of history records to skip; defaults to 0 in the UI.
  • Arguments JSON — When Input Mode is JSON Object, provide the GraphQL arguments object, such as config_id, limit, and offset.
  • Return Fields Mode — Choose All Fields or Custom Selection for the fields returned.
  • Return Fields — In Custom Selection mode, select currentCount, totalRecords, and history fields: change type, comments, config ID, date added, ID, or stock change.

Output shape

A list of items, each containing the stock history result object.

The result includes history records and pagination counts (currentCount and totalRecords). The source selects history id, config_id, stock_change, change_type, comments, and date_added, plus both counts; custom return field selection is declared in the UI but is not applied by this operation's execution handler.

Links

Discussion