v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

List cancellation reasons

This endpoint allows you to fetch cancellation reasons specific to a subscription.

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Response

200

successboolean

Indicates whether the request was successfully processed.

messagestring

Human-readable message describing the result of the request.

codestring

Status code indicating the result of the operation.

pageInfostring

Additional metadata related to the response.

Example response

{
  "success": true,
  "message": "Cancellation flows fetches successfully",
  "data": [
    {
      "id": 37988,
      "reason": "Not satisfied with the product(s) quality",
      "position": 1,
      "showSkipAction": true,
      "showSwapAction": true,
      "actionMessage": "<undefined>If you're not satisfied, you can swap wiht another product.</undefined>",
      "confirmationMessage": "Any remarks or suggestions to help us provide you better subscription experience next time?"
    }
  ],
  "code": "SUCCESS"
}