Change the current subscription plan

Changes a self-serve subscription to another active plan with proration. Optional product quantities are absolute quantities on the destination plan.

Authentication

AuthorizationBearer
API key from https://app.resemble.ai/hub/api

Request

This endpoint expects an object.
plan_slugstringRequired
product_quantitiesmap from strings to doublesOptional
Optional map of product slugs to desired quantities on the new plan.

Response

Subscription on the new plan.
subscriptionobject or null

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error