| Name | Type | Description |
|---|---|---|
uniquePlanKey | string | The plan key to which the subscription should be upgraded. |
subscriptionId | string | ID of the subscription to be upgraded. |
{
"uniquePlanKey": "zap_mail_growth",
"subscriptionId": "sub_123456789"
}curl --location --request POST 'https://api.zapmail.ai/api/v2/subscriptions/upgrade' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"lookupKey": "",
"subscriptionId": "sub_1P8ihuFgljsDeiyre9KRflk1q"
}'{}