curl --request POST \
--url http://localhost:8080/cabinet/subscription/tariff/switch/preview \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Preview tariff switch - shows cost calculation.
curl --request POST \
--url http://localhost:8080/cabinet/subscription/tariff/switch/preview \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 1825,
"traffic_gb": 50000
}
'{}Successful Response
The response is of type Response Preview Tariff Switch Cabinet Subscription Tariff Switch Preview Post · object.