Preview

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

AddProductVariantOptionInput

Attributes available to add a product variant option

This page contains

    Fields

    productId ID!

    Id of the product to add the variant option to

    code String

    Unique product variant option code

    name [LocalStringInput!]!

    The name of the product variant option

    inputType InputType! PREVIEW

    The input type of the product variant option

    Mutations for AddProductVariantOptionInput

    addProductVariantOption PREVIEW

    Add a product variant option to a product