Skip to main content
Version: v3.2.0

Add Subscription Seats

Adds seats to a Subscription. Initially the seats will be unassigned. To assign granteeIds to the seats use the update many method.

Code Sample

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

const salable = new Salable('{{API_KEY}}');

await salable.subscriptions.addSeats('{{SUBSCRIPTION_UUID}}', { increment: 2 });

Parameters

subscriptionId (required)

Type: string

The uuid of the Subscription where the seats will be added

config (required)

Type: ISubscriptionAddSeatsParams

OptionDescription
incrementThe number of seats to be created