Skip to main content
Version: Node SDK

Update Subscription

Update properties on a subscription.

Code Sample

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

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

await salable.subscriptions.update('17830730-3214-4dda-8306-9bb8ae0e3a11', { owner: 'orgId_2' });

Parameters

subscriptionUuid (required)

Type: string

The UUID of the Subscription

Options (required)

Type: UpdateSubscriptionInput

OptionTypeDescriptionRequired
ownerstringThe ID of the entity that owns the subscription

Return Type

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