cURL
curl --request POST \ --url https://api.example.com/api/subscription/change \ --header 'Content-Type: application/json' \ --data ' { "variant_id": 123 } '
The variant ID for the new subscription plan
Subscription plan changed successfully