Preview

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

createDistributor

Create a new distributor

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

    CreateDistributorInput fields

    displayName String!

    Human-readable distributor name

    website URL

    Distributor website URL

    logo URL

    Distributor logo image URL

    defaultPriceType DistributorDefaultPriceType! PREVIEW

    Default price type for products - MSRP or CUSTOMER_PRICE

    supportedProductTypes [DistributorSupportedProductType!]! PREVIEW

    Product types supported by this distributor - PHYSICAL_PRODUCT or WEB_APP

    supportedMarkets [DistributorMarket!]! PREVIEW

    Markets supported by this distributor - US, CA, AU

    defaultMarket DistributorMarket! PREVIEW

    Default market; must be included in supportedMarkets

    Return Fields

    distributor Distributor PREVIEW

    Created distributor

    userErrors [CreateDistributorError!] PREVIEW

    Errors preventing distributor creation

    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.