Skip to main content
Version: v3.1.0

Get Licenses for a Purchaser

Returns licenses for a purchaser on a product

Code Sample

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

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

const licenses = await salable.licenses.getForPurchaser('orgId_1', '{{PRODUCT_UUID}}');

Parameters

purchaser (required)

Type: string

The purchaser of the license

productUuid (required)

Type: string

The uuid of the product which the license gives access to

options

Type: LicenseGetByPurchaserOptions

OptionDescription
statusFilter by license status

Return Type

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