Skip to Content

CustomizationGroup

A set of product customization options customers can select or fill in at purchase, such as toppings, engraving, or extra features.

Type Definition

type CustomizationGroup { id: String title: String inputType: String mustBeSelected: Boolean options: [CustomizationGroupOption] }

Fields

FieldTypeDescription
idStringThe unique identifier for this customization group.
titleStringThe name of this customization group.
inputTypeStringThe input type for this customization group: REQUIRED_CHOICE, OPTIONAL_CHOICES, or OPTIONAL_TEXT.
mustBeSelectedBooleanIndicates if an option from this group must be selected to add the product to the cart.
options[CustomizationGroupOption]The list of options available in this customization group, formatted for GraphQL.

Relationships

This type represents a customization group that contains multiple customization options. The options field contains a list of CustomizationGroupOption objects that define the individual choices available within this group. CustomizationGroup objects are referenced by CustomizationGroupOption through the group and childGroup fields, creating a hierarchical relationship structure for nested customization options.

Example

{ id title inputType mustBeSelected options { id label } }

Implements

This type does not implement any interfaces.