patch https://restapi.ordergroove.com/subscriptions//update_prepaid_context/
This endpoint will allow you to modify the number of orders remaining, the number of orders per billing, and the renewal behavior for a prepaid subscription at any time during the lifecycle of the prepaid subscription
Authentication
✔️ Application API Scope
✖️ Storefront API Scope
Side-effects
After the modification if the prepaid subscription is in a state where its renewal_behavior is “cancel” and the number of orders_remaining is 0 it will be transitioned to a canceled state where the subscription is not live anymore.