Skip to Content

CustomizationGroupOption

Represents a selectable option within a product customization group.

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 option within a customization group. It maintains relationships with CustomizationGroup through the group field, which references the parent customization group this option belongs to, and through the childGroup field, which references any child customization group associated with this option.

Example

{ customizationGroupOption(id: "12345") { id title originalNetPrice originalPrice netPrice price image tax stock stockAlarm maxLength minLength rows group { id title } childGroup { id title } } }

Implements

This type does not implement any interfaces.