Authorizations
Path Parameters
Example:
Query Parameters
Required range:
1 <= x <= 100Available options:
created_at, -created_at curl --request GET \
--url https://{cluster}.voucherify.io/v1/loyalties/members/{memberId}/activity \
--header 'Authorization: Bearer <token>' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"object": "list",
"data_ref": "data",
"data": [
{
"id": "evcus_0c150c51730c6b60b1",
"type": "customer.loyalty.tier.upgraded",
"data": {
"data": {
"customer": {
"id": "<any>",
"name": "<any>",
"email": "<any>",
"source_id": "<any>",
"metadata": "<any>",
"object": "<any>"
},
"campaign": {
"id": "<string>",
"name": "<string>",
"campaign_type": "<string>",
"type": "AUTO_UPDATE",
"is_referral_code": true,
"voucher": {
"type": "<any>",
"discount": "<any>",
"gift": "<any>",
"loyalty_card": "<any>",
"redemption": "<any>",
"code_config": "<any>"
},
"referral_program": {
"conversion_event_type": "<any>",
"custom_event": "<any>",
"referee_reward": "<any>"
},
"auto_join": true,
"join_once": true,
"active": true,
"category_id": "<string>",
"category": "<string>",
"categories": [
"<any>"
],
"metadata": {},
"start_date": "2022-09-20T00:00:00.000Z",
"expiration_date": "2022-09-30T00:00:00.000Z",
"description": "<string>",
"created_at": "2024-01-01T11:11:11.111Z",
"updated_at": "2024-01-01T11:11:11.111Z",
"object": "campaign"
},
"loyalty_tier_from": {
"name": "<string>",
"earning_rules": {},
"rewards": {},
"points": {
"from": "<any>",
"to": "<any>"
},
"id": "<string>",
"campaign_id": "<string>",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"config": {
"points": "<any>"
},
"expiration": {
"customer_id": "<any>",
"campaign_id": "<any>",
"tier_id": "<any>",
"start_date": "<any>",
"expiration_date": "<any>",
"created_at": "<any>",
"updated_at": "<any>"
},
"object": "loyalty_tier"
},
"loyalty_tier_to": {
"name": "<string>",
"earning_rules": {},
"rewards": {},
"points": {
"from": "<any>",
"to": "<any>"
},
"id": "<string>",
"campaign_id": "<string>",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"config": {
"points": "<any>"
},
"expiration": {
"customer_id": "<any>",
"campaign_id": "<any>",
"tier_id": "<any>",
"start_date": "<any>",
"expiration_date": "<any>",
"created_at": "<any>",
"updated_at": "<any>"
},
"object": "loyalty_tier"
},
"created_at": "2022-02-25T13:32:08.734Z"
},
"event_source": {
"channel": "API",
"user": {
"id": "user_xyzfghSTprSTUVWXYlk6tuvXYst7FGH7"
},
"api_key": {
"name": "<string>",
"app_id": "1XXXX5XX-0XXX-XXXb-X7XX-XX2XXaXXX6XX"
}
}
},
"created_at": "2022-08-30T09:14:07.660Z",
"group_id": "w-0e30613abc1f044513"
}
],
"has_more": true,
"more_starting_after": "<string>"
}📘 Alternative endpoint This endpoint is an alternative to this endpoint. The URL was re-designed to allow you to get member activities without having to provide the
campaignIdas a path parameter.
Retrieves the list of activities for the given member ID related to a voucher and customer who is the holder of the voucher.
curl --request GET \
--url https://{cluster}.voucherify.io/v1/loyalties/members/{memberId}/activity \
--header 'Authorization: Bearer <token>' \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"object": "list",
"data_ref": "data",
"data": [
{
"id": "evcus_0c150c51730c6b60b1",
"type": "customer.loyalty.tier.upgraded",
"data": {
"data": {
"customer": {
"id": "<any>",
"name": "<any>",
"email": "<any>",
"source_id": "<any>",
"metadata": "<any>",
"object": "<any>"
},
"campaign": {
"id": "<string>",
"name": "<string>",
"campaign_type": "<string>",
"type": "AUTO_UPDATE",
"is_referral_code": true,
"voucher": {
"type": "<any>",
"discount": "<any>",
"gift": "<any>",
"loyalty_card": "<any>",
"redemption": "<any>",
"code_config": "<any>"
},
"referral_program": {
"conversion_event_type": "<any>",
"custom_event": "<any>",
"referee_reward": "<any>"
},
"auto_join": true,
"join_once": true,
"active": true,
"category_id": "<string>",
"category": "<string>",
"categories": [
"<any>"
],
"metadata": {},
"start_date": "2022-09-20T00:00:00.000Z",
"expiration_date": "2022-09-30T00:00:00.000Z",
"description": "<string>",
"created_at": "2024-01-01T11:11:11.111Z",
"updated_at": "2024-01-01T11:11:11.111Z",
"object": "campaign"
},
"loyalty_tier_from": {
"name": "<string>",
"earning_rules": {},
"rewards": {},
"points": {
"from": "<any>",
"to": "<any>"
},
"id": "<string>",
"campaign_id": "<string>",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"config": {
"points": "<any>"
},
"expiration": {
"customer_id": "<any>",
"campaign_id": "<any>",
"tier_id": "<any>",
"start_date": "<any>",
"expiration_date": "<any>",
"created_at": "<any>",
"updated_at": "<any>"
},
"object": "loyalty_tier"
},
"loyalty_tier_to": {
"name": "<string>",
"earning_rules": {},
"rewards": {},
"points": {
"from": "<any>",
"to": "<any>"
},
"id": "<string>",
"campaign_id": "<string>",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"config": {
"points": "<any>"
},
"expiration": {
"customer_id": "<any>",
"campaign_id": "<any>",
"tier_id": "<any>",
"start_date": "<any>",
"expiration_date": "<any>",
"created_at": "<any>",
"updated_at": "<any>"
},
"object": "loyalty_tier"
},
"created_at": "2022-02-25T13:32:08.734Z"
},
"event_source": {
"channel": "API",
"user": {
"id": "user_xyzfghSTprSTUVWXYlk6tuvXYst7FGH7"
},
"api_key": {
"name": "<string>",
"app_id": "1XXXX5XX-0XXX-XXXb-X7XX-XX2XXaXXX6XX"
}
}
},
"created_at": "2022-08-30T09:14:07.660Z",
"group_id": "w-0e30613abc1f044513"
}
],
"has_more": true,
"more_starting_after": "<string>"
}1 <= x <= 100created_at, -created_at Was this page helpful?