Skip to main content

VariantType

type VariantType {
id: ID!
name: String!
selectionType: VariantSelectionTypeEnum!
translations: [VariantTypeTranslation!]
values: [VariantValue!]!
}

Fields

idID!required
nameString!required

Product variant type name information. For example: Size, Color, Number etc..It can be a maximum of 100 characters.

selectionTypeVariantSelectionTypeEnum!required

Product variant type selection type. It can be choice or color.

It is the translation information of the product variant types.

values[VariantValue!]!required

Variant values used in Variant type. For example, variant type: Size. Variant values can be thought of as S, M, L, XL. It is unique according to the value name.Values array size must have at least one element.