Preview

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

createDistributorProducts

Create or upsert distributor catalog products (headless partner flow)

This page contains

    Authorization Rules

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

    Scopes

    external.distributors.config.readwrite.instance

    ROLE_SUPERUSER

    Arguments

    input CreateDistributorProductsInput! PREVIEW

    CreateDistributorProductsInput fields

    accountId String!

    Marketplace company (vendor) UUID — same as registerDistributorAccount

    distributorDisplayName String!

    Distributor display name from createDistributor response

    distributorMarket DistributorMarket! PREVIEW

    Market for all products in this request

    products [CreateDistributorProductInput!]! PREVIEW

    Products to upsert (max 100 per request)

    Return Fields

    products [CreateDistributorProductResult!] PREVIEW

    One result per input product

    userErrors [CreateDistributorProductsError!] PREVIEW

    Errors preventing catalog create

    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.