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!

    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 [AccountCustomAttributeInput!]

    The custom attributes associated with the account's profile

    thirtyDaysPurchaseLimitExempt Boolean

    Exempt company from monthly spend limit

    thirtyDaysPurchaseLimitOverrideAmt BigDecimal PREVIEW

    Overrides monthly spend limit of company above monthly spend limit of marketplace

    dailyPurchaseLimitExempt Boolean

    Exempt company from daily spend limit

    dailyPurchaseLimitOverrideAmt BigDecimal PREVIEW

    Overrides daily spend limit of company above daily spend limit of marketplace

    dailyPurchaseLimit BigDecimal PREVIEW

    Daily spend limit of marketplace

    thirtyDaysPurchaseLimit BigDecimal PREVIEW

    Monthly spend limit of marketplace

    dailyPurchaseRemainingAmt BigDecimal PREVIEW

    Daily remaining spending amount

    thirtyDaysPurchaseRemainingAmt BigDecimal PREVIEW

    Monthly remaining spending amount

    enabled Boolean

    Optional. When set to "true", the marketplace company is enabled. When set to "false", the marketplace company is disabled.

    allowLogin Boolean

    Optional. When set to "true", the marketplace company allows users to login to the marketplace and receive emails from the marketplace. When set to "false", the marketplace company does not allow company members to login to the marketplace or receive email notifications from the marketplace.

    status AccountStatus

    Current status of the account

    contactAddress AccountContactAddressInput

    The contact address of an account (that is, a company)

    website String

    The URL for the account's website

    contactPhoneNumber PhoneNumber

    Phone number of the account in E164 format

    contactEmail EmailAddress

    Email address of the account

    companySize AccountSize

    The company size

    vanityUrl Url

    Vanity url

    emailDomain String

    Email domain of the account

    idpId String

    UUID of the identity provider that the user will always use to log in

    billingDayOfMonth Int

    Billing day of month

    onlyAdminsCanBuy Boolean

    Whether only admins can buy for this account

    allowMembershipCreationByMarketplaceUsers Boolean

    Allow membership creation by marketplace users

    Return Fields

    account Account PREVIEW
    userErrors [UpdateAccountError!]

    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.