Create License
This method will create a new ad hoc license to allow Specific IDs to use your product.
Code Sample
const { SalableApi } = require('@salable/node-sdk');
const salable = new SalableApi('API-KEY');
const license = await salable.licenses.createLicense({
planUuid: '{{PLAN_UUID}}',
member: 'orgId_1234',
granteeId: 'userId-1234',
});
Parameters
planUuid (required)
Type: string
uuid
of the Plan you wish to create the License on
member (required)
Type: string
The ID of the member who will manage the license
granteeId (required)
Type: string
or null
The grantee ID for the license
Return Type
For more information about this request see our API documentation on License Check Object