Preview

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

orderProductVariantOptions

Edit the order for product variant options

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 OrderProductVariantOptionsInput! PREVIEW

    OrderProductVariantOptionsInput fields

    productId ID!

    Id of the product to re-order the variant options

    optionCodeOrder [String!]!

    The ordering of product variant options based on variant option codes

    Return Fields

    product Product PREVIEW

    Updated product

    userErrors [OrderProductVariantOptionsError!] 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.