Skip to Content

CustomizationGroupOption

Represents a selectable option within a product customization group. Each option can have pricing information, inventory status, and may be associated with child customization groups for nested customization workflows.

Type Definition

type CustomizationGroupOption { id: String title: String originalNetPrice: Float originalPrice: Float netPrice: Float price: Float image: String tax: Float group: CustomizationGroup childGroup: CustomizationGroup inventoryManagement: String stock: Boolean stockAlarm: Boolean maxLength: Int minLength: Int rows: Int }

Fields

FieldTypeDescription
idStringReturn the unique identifier for this option.
titleStringThe display name of this option.
originalNetPriceFloatThe net price of this option before discounts.
originalPriceFloatThe price of this option before discounts.
netPriceFloatThe net price of this option after discounts.
priceFloatThe price of this option after discounts.
imageStringThe image associated with this option.
taxFloatThe tax amount for this option.
groupCustomizationGroupThe customization group this option belongs to.
childGroupCustomizationGroupThe child customization group for this option.
inventoryManagementStringThe inventory management system for this option, or null if not managed.
stockBooleanIndicates if this option is in stock.
stockAlarmBooleanIndicates if this option is low on stock.
maxLengthIntThe maximum allowed length for textarea input, if applicable.
minLengthIntThe minimum allowed length for textarea input, if applicable.
rowsIntThe number of rows for textarea input, if applicable.

Relationships

CustomizationGroupOption represents a selectable variant within a customization group. Each option maintains a relationship to its parent group (CustomizationGroup) and optionally to a childGroup (CustomizationGroup) for nested customization workflows. Pricing fields support both gross and net price calculations, with separate fields for original and discounted amounts to enable flexible pricing displays across different customer contexts.

Example

{ id title originalNetPrice originalPrice netPrice price image tax stock stockAlarm maxLength minLength rows group { id title } childGroup { id title } }

Implements

None