Process customer product plan cancellation
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-pricing/product-plan-cancellation
bodyobjectProduct plan cancellation request including customer details, cancellation timing, and business rules to apply
200Successfully processed plan cancellation and returns the resulting customer product plan state
400Invalid cancellation request, unsupported cancellation type, or malformed request body
401Authentication required or invalid API key provided
403Insufficient permissions to process customer plan cancellations
404Customer or product plan not found for cancellation
409Plan cancellation conflicts with existing commitments or billing cycles
500Internal server error occurred while processing plan cancellation
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-pricing/product-plan-cancellation \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"customerId": "",
"newProductPlanId": ""
}'