Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
If you want to explicitly set the tier for a company 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 updateCompanyTier($input: UpdateCompanyTierInput!) {
updateCompanyTier(input: $input) {
companyTierMembership {
id
tierId
}
error {
message
type
code
fields {
field
message
type
}
}
}
}
{
"input": {
"companyIdentifier": {
"companyDomainName": "acme.com"
},
"tierIdentifier": {
"externalId": "XXX"
}
}
}