v1
latestOpenAPI 3.0.22026-07-2645239950.4 KBget/activities/{id}
Response
200
Example response
{
"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,
"rules_config": [
{
"rule_type": "Fixed Points",
"is_archived": false,
"is_active": false,
"conditions_matching_policy": "match_all",
"rule_name": "",
"conditions": [
{
"operator": "Between",
"attribute": "Transaction Date",
"value": "3/6/2023-3/29/2023"
}
],
"rule_value": 100
}
],
"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": "London"
},
"id": "6392efd671891b0009b5a736",
"activity_benefit_type": "points",
"success": true
}