List cancellation reasons

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

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

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2023-10/subscription/{subscriptionId}/cancellationFlow
  • Auth
    API key in header Authorization

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

Changes

No recorded changes to this operation across all 2 revisions of this API.