Skip to main content
Version: Node SDK

Check License

Retrieves the capabilities the grantee(s) have access to.

Code Sample

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

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

const check = await salable.licenses.check({
productUuid: 'product1',
granteeIds: ['grantee_1', 'grantee_2'],
});

Parameters

checkLicenseParams (required)

Type: CheckLicenseInput

OptionTypeDescriptionRequired
grantproductUuideeIdstringThe UUID of the product
granteeIdsstring[]An array of grantee IDs
gracenumberOptional grace period to filter by

Return Type

For more information about this request see our API documentation on License Check Object