v1

latestOpenAPI 3.0.22026-07-2645239950.4 KB

get/members/{member_id}/rewards

Response

200

successboolean

Example response

{
  "data": {
    "total": 4,
    "rewards": [
      {
        "reward_name": "Product Redemption Type reward",
        "enduser_reward_confirmation_html": "<div class=\"coupon_code_div\">_COUPON_CODE_</div><div style=\"margin-top: 15px;\"> A copy of the code has been emailed to _USER_EMAIL_.</div>",
        "product_id": "2",
        "implementation_type": "coupon_code",
        "redemption_eligibility_criteria": "Tier Based",
        "show_on_guest_dashboard": false,
        "last_modified_date": "03/14/2023 11:22:38",
        "is_active": true,
        "product_url": "http://18.143.114.190/battle-field.html",
        "reward_sub_type": "Product Redemption",
        "created_date": "12/09/2022 08:20:38",
        "enduser_reward_short_description": "For {{POINTS}} points",
        "points_to_be_redeemed": 1,
        "reward_type": "Coupon Based Rewards",
        "enduser_reward_post_confirmation_html": "Go to the <a href=\"{{PRODUCT_URL}}\" target=\"_blank\"> product page </a> and add this product to cart. Apply the coupon code at checkout",
        "id": "6392efd671891b0009b5a74b",
        "reward_id": "reward_2ed89",
        "metadata": {
          "Brand": "Nescafe",
          "Location": "London"
        },
        "reward_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/de6010baeefdd69737338afe3793944a.png"
      },
      {
        "reward_name": "New Reward",
        "enduser_reward_confirmation_html": "<div class=\"coupon_code_div\">_COUPON_CODE_</div><div style=\"margin-top: 15px;\"> A copy of the code has been emailed to _USER_EMAIL_.</div>",
        "reward_card_background_image_url": "",
        "implementation_type": "coupon_code",
        "redemption_eligibility_criteria": "Tier Based",
        "show_on_guest_dashboard": false,
        "last_modified_date": "03/13/2023 10:10:31",
        "is_active": true,
        "reward_sub_type": "Fixed Amount Discount",
        "created_date": "03/01/2023 12:50:37",
        "enduser_reward_short_description": "For {{POINTS}} points",
        "points_to_be_redeemed": 10,
        "reward_type": "Coupon Based Rewards",
        "enduser_reward_post_confirmation_html": "Here is your coupon code.",
        "id": "63ff4a1dfed629000bacf55c",
        "reward_id": "reward_a0d68",
        "metadata": {
          "Brand": "Davidoff",
          "Location": "US"
        },
        "reward_value": "0"
      },
      {
        "reward_name": "New Reward",
        "enduser_reward_confirmation_html": "<div class=\"coupon_code_div\">_COUPON_CODE_</div><div style=\"margin-top: 15px;\"> A copy of the code has been emailed to _USER_EMAIL_.</div>",
        "reward_card_background_image_url": "",
        "implementation_type": "coupon_code",
        "redemption_eligibility_criteria": "Tier Based",
        "show_on_guest_dashboard": false,
        "last_modified_date": "03/13/2023 10:10:27",
        "is_active": true,
        "reward_sub_type": "Fixed Amount Discount",
        "created_date": "12/19/2022 10:42:30",
        "enduser_reward_short_description": "For {{POINTS}} points",
        "points_to_be_redeemed": 10,
        "reward_type": "Coupon Based Rewards",
        "enduser_reward_post_confirmation_html": "Here is your coupon code.",
        "id": "63a040161507dc000848e630",
        "reward_id": "reward_4fcf1",
        "metadata": {
          "Brand": "Dunkin",
          "Location": "India"
        },
        "reward_value": "0"
      },
      {
        "reward_name": "$5 OFF COUPON",
        "enduser_reward_confirmation_html": "<div class=\"coupon_code_div\">_COUPON_CODE_</div><div style=\"margin-top: 15px;\"> A copy of the code has been emailed to _USER_EMAIL_.</div>",
        "reward_card_background_image_url": "",
        "implementation_type": "coupon_code",
        "redemption_eligibility_criteria": "Tier Based",
        "show_on_guest_dashboard": false,
        "last_modified_date": "03/13/2023 10:09:42",
        "is_active": true,
        "reward_sub_type": "Fixed Amount Discount",
        "created_date": "12/09/2022 08:20:38",
        "enduser_reward_short_description": "For {{POINTS}} points",
        "points_to_be_redeemed": 1,
        "reward_type": "Coupon Based Rewards",
        "enduser_reward_post_confirmation_html": "Here is your coupon code.",
        "id": "6392efd671891b0009b5a74a",
        "reward_id": "reward_ac6fc",
        "metadata": {
          "Brand": "Nescafe",
          "Location": "India"
        },
        "reward_value": "5"
      }
    ],
    "next_cursor": 100,
    "more": false
  },
  "success": true
}