Copy of Copy of Copy of Streaks

Fetch Streaks related details for a given subscription ID in a specific locale

post/2023-10/subscription/{subscriptionId}/mysteryReward/claimReward/action

Request

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

Path parameters

subscriptionIdinteger required

The unique identifier for a subscription in Loop

Query parameters

rewardIdstring required

The reward id of the mystery reward which is to be claimed

actionTypestring required

Response

200

successboolean
messagestring
codestring
pageInfounknown

Example response

{
  "success": true,
  "message": "Fetched subscription streak details successfully",
  "data": {
    "programName": "New streak",
    "streakLength": 5,
    "gracePeriod": 7,
    "status": "ACTIVE",
    "nextDueDate": "2025-12-07T08:00:00.000Z",
    "rewards": [
      {
        "orderNumber": 1,
        "rewardType": "NONE",
        "texts": {
          "rewardTitle": "Great work with the first move!"
        }
      }
    ]
  },
  "code": "SUCCESS"
}

Changes

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