v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Issue Reward in connected orgs

post/v1.1/user/rewards/issue/?username={till}&skip_validation=true

Query parameters

usernamestring required

username here represents name of the store

skip_validationstring

optional

Request body

mobilestring

Mobile number/ email Id/ External Id of the customer

brandstring

name of the brand

transactionNumberstring

transaction number for issuing the reward

rewardIdstring

reward ID(s) of the rewards to be issued

Response

200

OR

Example response

{
  "status": {
    "success": true,
    "code": 200,
    "message": "Reward issued successfully"
  },
  "rewards": [
    {
      "status": {
        "success": true,
        "code": 200,
        "message": "Reward issued successfully"
      },
      "orgId": 4004543,
      "transactionId": 57097,
      "rewardId": 350,
      "requestedQuantity": 1,
      "quantity": 1,
      "pointsReferenceId": "7Scaq1",
      "pointsReferenceIds": [
        "7Scaq1"
      ],
      "vendor": [
        {
          "valid_till": "2027-11-01",
          "voucher": "OV4GJYQV3Y",
          "pointsRedeemed": "2",
          "offer_name": "marvel-loadtest",
          "coupon_series_id": "234"
        }
      ],
      "paymentConfig": {
        "paymentMode": "CONV_RATIO",
        "id": 54,
        "conversionRatio": 0.5
      },
      "redemptionDetails": {
        "redemptionType": "MILES",
        "totalRedemptionValue": 1
      }
    }
  ]
}