Skip to main content
Version: Node SDK

Check Entitlements

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

Code Sample

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

const salable = initSalable('{{API_KEY}}', 'v3');

const check = await salable.entitlements.check({
productUuid: '{{PRODUCT_UUID}}',
granteeIds: ['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

Return Type

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