List cancellation offer
This endpoint allows you to fetch a single cancellation offer specific to a subscription.
get/2023-10/subscription/{subscriptionId}/cancellationOffer
Request
- Base URLhttps://api.loopsubscriptions.com/storefront
- URLhttps://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/cancellationOffer
- 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 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.