Select
Products
Access to products
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
subscriptionId | path | integer(int64) | true | subscription identifier |
query | query | Query | false | Use ‘include’ to get
|
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | SubscriptionProduct |
400 | Bad Request | Invalid request body | ErrorMessage |
404 | Not Found | Resource not found | ErrorMessage |
405 | Method Not Allowed | Method not allowed | None |
200 - instance of SubscriptionProduct
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | identification subscription |
product | Product | true | none |
bundle | Bundle | false | none |
historical_changes | [HistoricalProduct] | false | Tariff change history, ordered by datetime in descending order. The current tariff is always included at the top of the list. |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
subscriptionId | path | integer(int64) | true | subscription identifier |
body | body | ChangeSubscriptionProductRequest | true | Change subscription product given a productId |
Request body - instance of ChangeSubscriptionProductRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
productId | integer(int64) | true | target product identifier |
scheduled_date | string(date) | false | Desired date to execute operation |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | successful operation | None |
202 | Accepted | check risk decision | ChangeSubscriptionProductResponse |
400 | Bad Request | Invalid request body | ErrorMessage |
404 | Not Found | Resource not found | ErrorMessage |
405 | Method Not Allowed | Method not allowed | None |
202 - instance of ChangeSubscriptionProductResponse
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
Endpoints
Signups
Users
Accounts
Invoices
Terms
Payment info
Account migrations
Subscriptions
Products
Services
Bonuses
Promotions
Barrings
Consumption
Workorders
Penalties