Recharge Update Subscription Frequency

Updates the frequency of a subscription.

Per the official docs, it will update these three fields at the same time: charge_interval_frequency, order_interval_frequency, order_interval_unit

Uses this endpoint: https://developer.rechargepayments.com/2021-11/subscriptions/subscriptions_update

Inputs

InputTypeDescription
Recharge Access TokenSensitiveStringRecharge Access/API Token that allows us to make calls to the api.
Subscription IdStringThe id of the subscription
New FrequencyStringThe new quantity wanted in the subscription
Frequency UnitOptional StringThe unit of the new frequency (day, week, month). If empty, will take the unit currently used by the subscription

Outputs

OutputTypeDescription
SuccessBooleanWhether the subscription was updated.
Updated SubscriptionObjectThe updated subscription (with new frequency).