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 Range

AI-generated

Summary

Retrieve a paginated list of master option ranges from OnPrintShop, optionally filtering by range ID or option ID and selecting specific fields to return.

Inputs

  • Limit — Maximum number of records to return
  • Offset — Starting record offset for pagination
  • Option ID — Filter results by specific master option ID
  • Range ID — Filter results by specific range ID
  • Return Fields Mode — Choose whether to return all fields or a custom selection
  • Return Fields — Select specific fields of the master option range to return when using Custom Selection mode
  • Input Mode — Choose to input parameters as individual fields or a JSON object
  • Arguments JSON — Provide parameters as a JSON object instead of individual fields

Output shape

a list of master option range records and metadata

Returns an object containing an array 'masterOptionRange' with range items including range_id, option_id, from_range, and to_range, plus totalMasterOptionRange and currentCount. Supports pagination via limit and offset parameters.

Examples

Example 1: Fetch first 10 master option ranges for option ID 123

Set Limit to 10, Offset to 0, and Option ID to 123 to retrieve the first 10 ranges for that option.

Links

Discussion