OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Master Option Range → Get Many

AI-generated

Summary

Retrieve multiple master option ranges from the OnPrintShop API with optional filtering by range ID and option ID, supporting pagination.

Inputs

  • Range ID — Optional number to filter master option ranges by specific range ID; 0 means no filter.
  • Option ID — Optional number to filter master option ranges by specific option ID; 0 means no filter.
  • Limit — Number to limit the maximum number of master option ranges returned; defaults to 10.
  • Offset — Number to offset the starting position for result pagination; defaults to 0.
  • Safe Mode — Boolean to enable safe mode to block mutations in the Complete API or reduce nested response fields in legacy actions; defaults to false.

Output shape

a list of master option range objects

Each returned object represents a master option range with fields like range_id, option_id, from_range, and to_range. Response includes pagination metadata. Errors are surfaced as exceptions.

Examples

Example 1: Get many master option ranges without filters

Set Range ID and Option ID to 0, Limit to 10, Offset to 0.

Example 2: Get master option ranges filtered by a specific Range ID

Set Range ID to desired value, Option ID to 0 to ignore, specify Limit and Offset as needed.

Links

Discussion