Preview

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

orderProductVariantOptionValues

Order product variant option values

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_DEVELOPER

    ROLE_PARTNER

    Arguments

    input OrderProductVariantOptionValuesInput! PREVIEW

    OrderProductVariantOptionValuesInput fields

    productId ID!

    Product to order variant option values on

    optionCode String!

    Option to order variant option values on

    optionValueCodeOrder [String!]!

    Array of option value codes to order product variant option values by

    Return Fields

    product Product PREVIEW

    The updated product

    userErrors [OrderProductVariantOptionValuesError] PREVIEW

    User errors

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.