OnPrintShop Master Options icon

OnPrintShop Master Options

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

Complete API → Set Option Group

AI-generated

Summary

Set or update an Option Group in OnPrintShop by providing group details such as ID, name, usage type, display style, option count, collapse state, and sort order.

Inputs

  • Option Group ID — Numeric ID of the option group; provide to update or delete an existing group.
  • Group Name (required) — Name of the option group.
  • Use For — Purpose of the group: choose among Both, Export Order Group, or Presentation Group.
  • Display Style — Visual display style of the group, either Default or Inline.
  • Options per Row — Number of options displayed per row in the group.
  • Expanded — Boolean to specify if the group UI starts expanded (true) or collapsed (false).
  • Sort Order — Integer value to determine the option group's position/order among others.
  • Delete — Boolean indicating whether to delete the option group.

Output shape

a single record

Returns the mutation result containing at least the fields: result, message, and id representing the operation outcome on the option group.

Links

Discussion