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
Parameter | Type |
---|---|
session | Session |
id | string | number |
query ? | BasicSubscriptionParams |
Returns
Promise
<Subscription
>