Skip to main content
Version: v1.4.0

Get Subscription

Returns the details of a single subscription.

Code Sample

const { SalableApi } = require('@Salable/node-sdk');

const salable = new SalableApi('API-KEY');

const subscription = await salable.subscriptions.getSubscription(
'41cf33a2-136e-4959-b5c7-73889ab94eff'
);

Parameters

subscriptionId (required)

Type: string

The uuid of the Subscription to be returned

Return Type

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