Preview

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

updateAccount

Update a marketplace account (company)

This page contains

    Authorization Rules

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

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_CHANNEL_SUPPORT

    ROLE_CORPORATE_ADMIN

    ROLE_PARTNER

    ROLE_SALES_SUPPORT

    Arguments

    input UpdateAccountInput! PREVIEW

    Specifies update attributes for a marketplace account (company)

    UpdateAccountInput fields

    id ID!

    Unique identifier of the account to be updated

    name String

    Name of the account

    countryCode String

    Country code of the account

    accessTypes [AccountAccessType!]

    The type of access that members of this account have

    externalId String

    Account external ID

    defaultRole AccountMembershipRole

    The default role newly created users receive

    customAttributes [CustomAttributeInput!]

    The custom attributes associated with the account's profile

    Return Fields

    account Account PREVIEW
    userErrors [UpdateAccountError!] 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.