v1

latestOpenAPI 3.1.02026-07-241120379.1 KB

Flow reward banner

This endpoint allows you to fetch the flow reward banner text applicable for a subscription.

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop.

Response

200

successboolean
messagestring
codestring
{"stackTrail":"paths:/2023-10/subscription/{subscriptionId}/flowRewardBanner:get:responses:200:content:application/json:schema:properties:pageInfo","oasType":"schema","type":"unknown"}

Example response

{
  "success": true,
  "message": "Flow reward banner fetched successfully",
  "data": [
    {
      "text": "<undefined>Free gift has been added to your upcoming order.</undefined>",
      "isRewardReceived": true
    }
  ],
  "code": "SUCCESS"
}