Skip to main content
Version: Node SDK

Get One Pricing Table

Returns all necessary data on a display a pricing table.

Code Sample

Required parameters

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

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

const pricingTable = await salable.pricingTables.getOne('0c0ee2b7-2f3b-436b-8b4e-b21d0ddbf2a9', {
granteeId: 'grantee_1',
currency: 'USD'
});

Parameters

pricingTableUuid (required)

Type: string

The uuid of the Pricing Table to build


options

Type: { granteeId: String, currency: String }

OptionTypeDescriptionRequired
granteeIdstringThe unique identifier for the grantee
currencystringUses the currency short name e.g. USD, defaults to the default currency on the Product which the Plan is linked to

Return Type

For more information about this request see our API documentation on Pricing Table