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!

    OrderProductVariantOptionsInput fields

    productId ID!

    Id of the product to re-order the variant options

    optionCodeOrder [StringInput!]!

    The ordering of product variant options based on variant option codes

    Return Fields

    product Product PREVIEW

    Updated product

    userErrors [OrderProductVariantOptionsError!]

    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.