API URL: https://sdtxupdg40.execute-api.eu-central-1.amazonaws.com/testing
API
Every interaction with the API needs an Authorization Token. The token is generated per user.
Change Subscription Plan
Code Block | ||
---|---|---|
| ||
POST /subscriptions/{subscription}/changeplan |
{subscription} - The id of the subscription to upgrade
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "product_id" : {product_id} } |
- {product_id} - The id of the product you wish to subscribe to