Upgrade/downgrade plan
POST/v1/partners/subscriptions/:subscriptionId
Creates a new subscription with a new Plan/Price. The current active subscription is cancelled and replaced with the new one.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Subscription updated successfully
Unauthorized - You don't have a partner account
Forbidden - Organization or price does not belong to the partner
Subscription with given ID does not exist
Unprocessable Entity - Subscription already cancelled or price ID is required