Skip to main content

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

ParameterType
sessionSession
idstring | number
datestring
query?UpdateSubscriptionChargeDateParams

Returns

Promise<Subscription>