Preview

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

registerDistributorAccount

Register a new distributor account

This page contains

    Authorization Rules

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

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_PARTNER

    Arguments

    input RegisterDistributorAccountInput! PREVIEW

    RegisterDistributorAccountInput fields

    distributorId String!

    Distributor Id to which the distributor account is being registered

    distributorMarket DistributorMarket! PREVIEW

    Distributor market for which the distributor account is being registered

    accountId String!

    Account(Company) Id against which the distributor account is being registered, will be used as vendor of the products imported

    configuration DistributorAccountConfigurationInput! PREVIEW

    Distributor side configuration for the distributor account

    credentials DistributorAccountCredentialsInput! PREVIEW

    Distributor side account credentials

    secondaryConfiguration DistributorAccountConfigurationInput PREVIEW

    Distributor side secondary configuration for the distributor account (only needed when 2 api suites are used generally during migrations)

    secondaryCredentials DistributorAccountCredentialsInput PREVIEW

    Distributor side secondary credentials for the distributor account (only needed when 2 api suites are used generally during migrations)

    Return Fields

    id String

    Generated internal Id of the registered distributor account

    userErrors [RegisterDistributorAccountError!] PREVIEW

    Errors preventing registration of distributor account

    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.