cURL
curl --request POST \ --url http://127.0.0.1:8080/v1/c/contract/{contract_id}/upgrade \ --header 'Content-Type: application/json' \ --header 'wb-key: <api-key>' \ --data '{ "downgrade_allowed": true, "upgrade_configuration": { "activation": { "type": "next_cycle" }, "currency": "usd", "cycle": "once", "discount_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "plan_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "pricing_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670", "unit_configuration": {}, "unit_count_configuration": {}, "upgrade_strategy": "new_plan" } }'
"Cont_cc871a3a-2b38-4689-a32d-14bf2e62b1ae"
Perform a mid-cycle contract upgrade.
Id of the Contract
Upgrade configuration used when WbCustomer is performing a Contract Upgrade for a Customer
Upgraded
The response is of type string.
string