curl --request POST \
--url https://api.example.com/cabinet/subscription/tariff/switch \
--header 'Authorization: Bearer <token>' \
--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 https://api.example.com/cabinet/subscription/tariff/switch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The response is of type Response Switch Tariff Cabinet Subscription Tariff Switch Post · object.