For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
tierMembership:readtierMembership:create
Query
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add companies and tenants to a tier in a single mutation.
tierMembership:readtierMembership:createmutation addMembersToTier($input: AddMembersToTierInput!) {
addMembersToTier(input: $input) {
memberships {
__typename
... on TenantTierMembership {
id
tenantId
}
... on CompanyTierMembership {
id
companyId
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}
{
"input": {
"memberIdentifiers": [
{
"tenantId": "te_123"
},
{
"companyId": "co_123"
}
],
"tierIdentifier": { "externalId": "XXX" }
}
}
Was this page helpful?
