tierMembership:read
tierMembership:create
import { PlainClient } from '@team-plain/typescript-sdk'; const client = new PlainClient({ apiKey: 'plainApiKey_xxx' }); const res = await client.addMembersToTier({ memberIdentifiers: [ { tenantId: 'te_123', }, { companyId: 'co_123', }, ], tierIdentifier: { externalId: 'XXX' }, }); if (res.error) { console.error(res.error); } else { console.log(res.data); }
Was this page helpful?