Preview

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

AddProductVariantOptionValueInput

Attributes available to add a product variant option value

This page contains

    Fields

    productId ID!

    Product ID that variant option value will be added to

    optionCode String!

    Option code that the variant option value will be added to

    valueCode String

    Unique code for the variant option value

    name [LocalStringInput!]!

    Localized values for the variant option value

    isDefaultValue Boolean!

    Determines if this variant option value will be the default value for the given option/value code combination

    hexcode String

    If applicable the hexcode for the option value

    secondaryInformation [LocalStringInput!]

    Additional information about a product variant option value

    Mutations for AddProductVariantOptionValueInput

    addProductVariantOptionValue PREVIEW

    Create variant option values for a product