List cancellation offers
This endpoint allows you to fetch the multiple cancellation offers for a customer.
get/2023-10/subscription/{subscriptionId}/cancellationOffers/
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/cancellationOffers/
- AuthAPI key in header Authorization
Path parameters
subscriptionIdinteger required
The unique identifier for a subscription in Loop.
Query parameters
cancellationFlowIdinteger required
The unique identifier of the cancellation reason selected by the subscriber. This value can be retrieved from the List cancellation reasons API.
Response
200
Example response
{
"success": true,
"message": "Cancellation offer list fetched successfully",
"data": [
{
"id": "ba70d90886454e6985099b99673ac7de",
"message": "<undefined>choice 1<br></undefined>",
"keepSubscriptionCTAText": "Accept offer - choice 1",
"cancelSubscriptionCTAText": "Cancel subscription",
"title": "Cancel subscription",
"offerDescription": "choice 1"
}
],
"code": "SUCCESS"
}Changes
No recorded changes to this operation across all 2 revisions of this API.