Function: updateSubscriptionChargeDate()
updateSubscriptionChargeDate(
session,id,date,query?):Promise<Subscription>
If there are two active subscriptions with the same address_id, and you update their next_charge_date parameters to match, their charges will get merged into a new charge with a new id
Parameters
| Parameter | Type |
|---|---|
session | Session |
id | string | number |
date | string |
query? | UpdateSubscriptionChargeDateParams |
Returns
Promise<Subscription>