Skip to main content

Update seat count

Add seats

All seats created will be unassigned. To assign the seats to grantees, see updating seats. Ensure that the number of seats being added doesn't take the number of active seats above the maximum set on the subscription's plan.

import { initSalable } from '@salable/node-sdk';

const salable = initSalable('your-salable-api-key', 'v3');
await salable.subscriptions.updateSeatCount('your-subscription-uuid', {
increment: 2,
});

Remove seats

Only unassigned seats can be removed from a subscription. Ensure that the number of seats being removed doesn't take the number of active seats below the minimum set on the subscription's plan.

import { initSalable } from '@salable/node-sdk';

const salable = initSalable('your-salable-api-key', 'v3');
await salable.subscriptions.updateSeatCount('your-subscription-uuid', {
decrement: 2,
});
danger

If you are receiving payment for your subscription, do not modify subscriptions directly through Stripe. Always manage them through the Salable API/SDKs to avoid issues.