Upgrade Request
Estimate or request upgrade
// Format of ''resources'' paremeter
{
"resource_id" : "qty_value", // sliders & qty fields
"resource_id" : "item_id", // dropdown & radio fields
"resource_id" : {
"item_id": "qty_value" // dropdown with qty field
}
}
HTTP Request
POST /service/@id/upgrade
Auth: true
QUERY PARAMETERS
Parameter | Type | Description |
---|---|---|
id | int | Service id |
resources | array | array with resource values |
package | int | New package id, optonal when upgrading resources |
cycle | string | New billing cycle, optonal when upgrading resources |
send | boolean | Set to true when you want to send your upgrade request |