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
| Field | Type | Description |
|---|---|---|
| id | String | Return the unique identifier for this option. |
| title | String | The display name of this option. |
| originalNetPrice | Float | The net price of this option before discounts. |
| originalPrice | Float | The price of this option before discounts. |
| netPrice | Float | The net price of this option after discounts. |
| price | Float | The price of this option after discounts. |
| image | String | The image associated with this option. |
| tax | Float | The tax amount for this option. |
| group | CustomizationGroup | The customization group this option belongs to. |
| childGroup | CustomizationGroup | The child customization group for this option. |
| inventoryManagement | String | The inventory management system for this option, or null if not managed. |
| stock | Boolean | Indicates if this option is in stock. |
| stockAlarm | Boolean | Indicates if this option is low on stock. |
| maxLength | Int | The maximum allowed length for textarea input, if applicable. |
| minLength | Int | The minimum allowed length for textarea input, if applicable. |
| rows | Int | The 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