Skip to main content

Function: activateSubscription()

activateSubscription(session, id, query?): Promise<Subscription>

When activating subscription, following attributes will be set to null: cancelled_at, cancellation_reason and cancellation_reason_comments.

Parameters

ParameterType
sessionSession
idstring | number
query?BasicSubscriptionParams

Returns

Promise<Subscription>