Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
If you want to explicitly set the tier for a tenant you can do so using this mutation. If instead you want to add many companies to a tier at once, you can use the add members mutation. For this mutation you need the following permissions:
  • tierMembership:read
  • tierMembership:create
Mutation
mutation updateTenantTier($input: UpdateTenantTierInput!) {
  updateTenantTier(input: $input) {
    tenantTierMembership {
      id
      tierId
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
Variables
{
  "input": {
    "tenantIdentifier": {
      "externalId": "XXX"
    },

    "tierIdentifier": {
      "externalId": "XXX"
    }
  }
}