curl --request POST \
--url https://api.cloud.flexprice.io/v1/plans/{id}/sync/subscriptions \
--header 'x-api-key: <api-key>'
{
"message": "<string>",
"plan_id": "<string>",
"plan_name": "<string>",
"synchronization_summary": {
"prices_added": 123,
"prices_removed": 123,
"prices_skipped": 123,
"subscriptions_processed": 123
}
}
Synchronize current plan prices with all existing active subscriptions
curl --request POST \
--url https://api.cloud.flexprice.io/v1/plans/{id}/sync/subscriptions \
--header 'x-api-key: <api-key>'
{
"message": "<string>",
"plan_id": "<string>",
"plan_name": "<string>",
"synchronization_summary": {
"prices_added": 123,
"prices_removed": 123,
"prices_skipped": 123,
"subscriptions_processed": 123
}
}
Enter your API key in the format x-api-key <api-key>*
Plan ID
OK
The response is of type object
.