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}}');

const check = await salable.licenses.check('{{PRODUCT_UUID}}', ['userId_1', 'userId_2']);

Parameters

productUuid (required)

Type: string

Product uuid


granteeIds (required)

Type: string[]

A String array of the grantee Ids you wish to check against


grace

Type: number

The number of days to extend the end dates of capabilities

Return Type

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