updateProductVariantsByIds

Update the product's variant(s) by id(s)

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 UpdateProductVariantByIdsInput!

    UpdateProductVariantByIdsInput fields

    productId ID!

    Product id

    ids [ID!]!

    Product's variant(s) id(s)

    isEnabled Boolean

    To enable or disable the product variant(s)

    physicalAttributes PhysicalAttributesInput

    Updated physical attributes

    Return Fields

    variantIds [ID!]!

    Ids of the updated variants

    userErrors [UpdateProductVariantsErrors!]

    Errors that occurred when update variants

    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.