Preview

ProductVariantOption is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

ProductVariantOption

A variant option

This page contains

    Fields

    code: String!

    User defined code for the variant option (e.g. Size)

    name: [LocalizedString!]!

    Localized name of the variant option (e.g. EN: Size + FR: Taille)

    values: [ProductVariantOptionValue]! PREVIEW

    All the possible variant option's values (e.g. for option 'Size', the values: S, M, L, ...)

    defaultValue: ProductVariantOptionValue PREVIEW

    Default selected value for the option (e.g. S)

    inputType: InputType! PREVIEW

    How the option will be displayed on the UI

    Parent objects of ProductVariantOption

    Product PREVIEW

    Product definition

    ProductVariantOptionValue PREVIEW

    A value of a variant option

    Queries for ProductVariantOption

    product

    Query a product