curl --request POST \
--url https://api.unibee.dev/merchant/plan/active_price_change/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newAmount": 123,
"planId": 123
}
'{
"code": 123,
"data": {
"activeAffectedSubscriptions": 123,
"newAmount": 123,
"oldAmount": 123,
"planId": 123,
"totalAffectedSubscriptions": 123
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Preview how many subscriptions will be affected if we change price of an active plan.
curl --request POST \
--url https://api.unibee.dev/merchant/plan/active_price_change/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"newAmount": 123,
"planId": 123
}
'{
"code": 123,
"data": {
"activeAffectedSubscriptions": 123,
"newAmount": 123,
"oldAmount": 123,
"planId": 123,
"totalAffectedSubscriptions": 123
},
"merchantId": 123,
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.