Get All Licenses
Returns a list of all the licenses created by your Salable organization
Code Sample
import { Salable } from '@salable/node-sdk';
const salable = new Salable('{{API_KEY}}', 'v2');
const licenses = await salable.licenses.getAll();
Parameters
options
Type: GetLicenseOptions
Option | Type | Description | Required |
---|---|---|---|
status | string | The status of the created license, e.g. "ACTIVE" "TRIALING" | ❌ |
cursor | string | Cursor value, used for pagination | ❌ |
take | number | The amount of licenses to fetch | ❌ |
subscriptionUuid | string | The UUID of the subscription to filter by | ❌ |
granteeId | string | The grantee ID to filter by | ❌ |
planUuid | string | The UUID of the plan to filter by | ❌ |
productUuid | string | The UUID of the product to filter by | ❌ |
Return Type
For more information about this request see our API documentation on License Object