Preview

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

triggerProductVariantsCreation

Trigger the creation of the variants for one product

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

    TriggerProductVariantCreationInput fields

    productId ID!

    Product ID for which the variants will be created

    Return Fields

    process ProductVariantsCreationProcess PREVIEW

    Asynchronous product's variants creation process

    userErrors [TriggerProductVariantsCreationUserError] PREVIEW

    User error on product's variants creation process

    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.