Add seats
Creates additional seats on a subscription.
- Node SDK
- Fetch
- cURL
import { Salable } from '@salable/node-sdk';
const salable = new Salable('your-salable-api-key', 'v2');
await salable.subscriptions.addSeats('your-subscription-uuid', {
increment: 2,
});
await fetch("https://api.salable.app/subscriptions/your-subscription-uuid", {
method: "POST",
headers: {
"x-api-key": "your-salable-api-key",
version: "v2"
},
body: JSON.stringify({
increment: 2
});
})
curl
-XPOST
-H 'x-api-key: your-salable-api-key'
-H 'version: v2'
-d '{ "increment": 2 }'
'https://api.salable.app/subscriptions/your-subscription-uuid/seats'
info
All seats created are unassigned by default. You can assign seats after they have been added to the subscription.