curl --request POST \
--url http://localhost:8080/cabinet/subscription/tariff/switch \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Switch to a different tariff without changing end date.
curl --request POST \
--url http://localhost:8080/cabinet/subscription/tariff/switch \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Successful Response
The response is of type Response Switch Tariff Cabinet Subscription Tariff Switch Post · object.