v1

latestOpenAPI 3.0.22026-07-2645239950.4 KB

get/members/{member_id}/activities

Response

200

totalinteger

The total number of eligible rewards.

next_cursorinteger

This is a cursor for use in pagination. start_index is the index that defines your place in the list. For instance, if you make a list request and receive 1000 objects, your subsequent call can include start_index=1001 in order to fetch the next page of the list.

moreboolean

Example response

{
  "total": 11,
  "activities": [
    {
      "points_config": {
        "points": 130,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points on your birthday.",
      "activity_id": "birthday_bonus",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2023-03-13 10:13:22.725000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "YEAR"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.487000",
      "activity_name": "Birthday Bonus",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Brand": "nescafe",
        "Location": "US"
      },
      "id": "6392efd671891b0009b5a738",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points_computation_type": "multiplier_based",
        "attribute_to_multiply": "order_subtotal",
        "multiplier": 1
      },
      "enduser_activity_short_description": "Earn points for every dollar you spend in purchases.",
      "activity_id": "made_a_purchase",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2023-03-13 07:28:02.766000",
      "is_active": true,
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.475000",
      "activity_name": "Purchase on website",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Brand": "nescafe",
        "Location": "India"
      },
      "id": "6392efd671891b0009b5a736",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 100,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points on your anniversary.",
      "activity_id": "anniversary_bonus",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": false,
      "last_modified_date": "2023-03-09 11:25:03.616000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "YEAR"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.493000",
      "activity_name": "Anniversary Bonus",
      "is_points_expiry_reset_activity": false,
      "metadata": {
        "Brand": "nescafe",
        "Location": "UK"
      },
      "id": "6392efd671891b0009b5a739",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 3,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points when you refer a friend.",
      "activity_id": "referral",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2023-03-09 09:38:21.212000",
      "is_active": true,
      "approval_method": "immediate",
      "created_date": "2023-01-05 06:51:11.934000",
      "activity_name": "Refer a Friend",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Location": "US"
      },
      "id": "63b6735f0053b1000de4e4a6",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 100,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points for uploading a photo.",
      "activity_id": "upload_photo",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": false,
      "last_modified_date": "2023-02-23 08:01:49.022000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "DAY"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "manual",
      "created_date": "2023-02-23 08:00:27.709000",
      "activity_name": "Upload a Photo",
      "is_points_expiry_reset_activity": false,
      "metadata": {
        "Location": "US"
      },
      "id": "63f71d1b2e47bd000c004fae",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 100,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points for any activity you want.",
      "activity_id": "46285_custom_activity",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2023-02-08 12:11:39.528000",
      "is_active": true,
      "approval_method": "immediate",
      "created_date": "2023-02-08 12:11:29.674000",
      "activity_name": "Custom Activity",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Brand": "nescafe",
        "Location": "US"
      },
      "id": "63e3917125df4110e3df53fc",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points_computation_type": "multiplier_based",
        "attribute_to_multiply": "receipt_order_value",
        "multiplier": 1
      },
      "enduser_activity_short_description": "Reward users for submitting receipts of their purchases.",
      "activity_id": "submit_a_receipt",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2022-12-09 10:25:52.043000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": false,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "DAY"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "manual",
      "created_date": "2022-12-09 10:25:37.359000",
      "activity_name": "Submit a Receipt",
      "is_points_expiry_reset_activity": false,
      "metadata": {
        "Location": "US"
      },
      "id": "63930d2171891b000a5a0c5d",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 50,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points when you share us on Pinterest.",
      "activity_id": "share_on_pinterest",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2022-12-09 08:20:38.526000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "WEEK"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.526000",
      "activity_name": "Share on Pinterest",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Location": "UK"
      },
      "id": "6392efd671891b0009b5a73e",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 50,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points when you share us on Twitter.",
      "activity_id": "share_on_twitter",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2022-12-09 08:20:38.514000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "WEEK"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.513000",
      "activity_name": "Share on Twitter",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Location": "US"
      },
      "id": "6392efd671891b0009b5a73c",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 50,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points when you share us on Facebook.",
      "activity_id": "share_on_facebook",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2022-12-09 08:20:38.506000",
      "is_active": true,
      "rules_config": [
        {
          "rule_type": "Frequency",
          "is_archived": false,
          "is_active": true,
          "conditions_matching_policy": "match_all",
          "rule_name": "",
          "conditions": [
            {
              "frequency_value": "1",
              "frequency_range": "WEEK"
            }
          ],
          "rule_value": 0
        }
      ],
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.506000",
      "activity_name": "Share on Facebook",
      "is_points_expiry_reset_activity": true,
      "metadata": {
        "Location": "US"
      },
      "id": "6392efd671891b0009b5a73b",
      "activity_benefit_type": "points"
    },
    {
      "points_config": {
        "points": 100,
        "points_computation_type": "fixed_points"
      },
      "enduser_activity_short_description": "Earn points when you create your loyalty account.",
      "activity_id": "created_an_account",
      "show_on_guest_dashboard": true,
      "enduser_activity_description_html": "<!DOCTYPE html>\n<html>\n<head>\n\t<title>My Page</title>\n</head>\n<body>\n\t<h1>Welcome to my page!</h1>\n</body>\n</html>",
      "activity_card_background_image_url": "https://d1qbqkkh49kht1.cloudfront.net/ece73c1fcf03cf1a006b2dac79097600.png",
      "is_qualified_for_tier_upgrade": true,
      "last_modified_date": "2022-12-09 08:20:38.468000",
      "is_active": true,
      "approval_method": "immediate",
      "created_date": "2022-12-09 08:20:38.468000",
      "activity_name": "Account Creation",
      "is_points_expiry_reset_activity": false,
      "metadata": {
        "Location": "London"
      },
      "id": "6392efd671891b0009b5a735",
      "activity_benefit_type": "points"
    }
  ],
  "next_cursor": 100,
  "more": false
}