SubscriptionPlans
SubscriptionPlans
GetSubscriptionPlan
Returns a subscription plan. Not all subscriptions can be issued for customer.
Request
GET /api/manage/v1/SubscriptionPlans/{id}
Parameters
Name | Type | Value | Notes |
---|---|---|---|
*id | string | Identifier of subsctiption plan |
Responses
Status Code | Description | Samples |
---|---|---|
200 | Succesfully returned |
|
400 | The reqeust is wrong |
|
404 | Subscription plan with this id is not found |
|
500 | Exception thrown |
GetSubscriptionPlans
Returns a list of active subscription plans that can be issued to the user.
If no active subscription plans, then the endpoint will return empty list
Request
GET /api/manage/v1/SubscriptionPlans[?skip&take]
Parameters
Name | Type | Value | Notes |
---|---|---|---|
skip | integer | 0 | Variable for pagination, defautl value is 0 |
take | integer | 10 | Variable for pagination, default value is 10 |
Responses
Status Code | Description | Samples |
---|---|---|
200 | Succesfully returned |
|
400 | The reqeust is wrong |