OnPrintShop Master Options icon

OnPrintShop Master Options

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

Complete API → Get Option Group

AI-generated

Summary

Retrieve one or more option groups from the OnPrintShop Complete API, optionally filtered by group ID or purpose ('use_for').

Inputs

  • prod_add_opt_group_id — Optional integer to filter by a specific Option Group ID.
  • use_for — Optional string to filter by the purpose or category of the option group.
  • limit — Number specifying the maximum number of option groups to return.
  • offset — Number specifying the record offset for pagination.
  • Return Fields Mode — Choose between returning all fields or a custom selection of fields from the Option Group.
  • Return Fields — Select specific fields to return when using Custom Selection mode.

Output shape

a list of option group records

Returns an object containing an array of option groups with fields such as group ID, name, use for, display style, option count, collapse status, and sort order. Also includes pagination info such as total option group count and current count of returned records.

Links

Discussion