v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

List cancellation offers

This endpoint allows you to fetch the multiple cancellation offers for a customer.

get/2023-10/subscription/{subscriptionId}/cancellationOffers/

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

successboolean
messagestring
codestring
pageInfostring

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"
}