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 250 per request). Background processing starts immediately.

    Return Fields

    submissionId ID

    Stable id for this submission (poll via distributorSubmissionProgress)

    status SubmissionStatus PREVIEW

    ACCEPTED when request is staged; poll distributorSubmissionProgress for processing status

    userErrors [CreateDistributorProductsError!] PREVIEW

    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.