Response
200 - application/json
Indicates that a customer has been deleted.
Event data object schema for customer.deleted
.
Customer details with details about loyalty and referral programs.
{
"customer": {
"id": "cust_7LvqCsUB9c8WyFP8JaLXchtF",
"name": "Lionel Johnson",
"email": "lionel-johnson@lion.io",
"object": "customer",
"address": {
"city": "Nottingham",
"state": "England",
"line_1": "Hammer Street 123",
"country": "United Kingdom",
"postal_code": "XX-ZZZ"
},
"loyalty": {
"points": 301,
"campaigns": {
"Loyalty programme": {
"points": 301,
"loyalty_tier": "ltr_0e30613ad01f044516",
"referred_customers": 0
}
},
"referred_customers": 0
},
"summary": {
"orders": {
"total_count": 1,
"total_amount": 2500,
"average_amount": 2500,
"last_order_date": "2024-02-01T10:42:59.676Z",
"last_order_amount": 2500
},
"redemptions": {
"gift": {
"amount_to_go": 0,
"redeemed_amount": 0
},
"loyalty_card": {
"points_to_go": 301,
"redeemed_points": 0
},
"total_failed": 0,
"total_redeemed": 1,
"total_succeeded": 1,
"total_rolled_back": 0,
"total_rollback_failed": 0,
"total_rollback_succeeded": 0
}
},
"birthdate": "1974-01-02",
"referrals": {
"total": 0,
"campaigns": []
},
"source_id": "lionel-johnson_deleted2024-02-01T11:16:40.918Z",
"created_at": "2024-02-01T10:42:59.594Z",
"updated_at": "2024-02-01T11:16:40.934Z",
"description": "Famous",
"system_metadata": {}
}
}
{
"customer": {
"id": "cust_7LvqCsUB9c8WyFP8JaLXchtF",
"name": "Lionel Johnson",
"email": "lionel-johnson@lion.io",
"object": "customer",
"address": {
"city": "Nottingham",
"state": "England",
"line_1": "Hammer Street 123",
"country": "United Kingdom",
"postal_code": "XX-ZZZ"
},
"loyalty": {
"points": 301,
"campaigns": {
"Loyalty programme": {
"points": 301,
"loyalty_tier": "ltr_0e30613ad01f044516",
"referred_customers": 0
}
},
"referred_customers": 0
},
"summary": {
"orders": {
"total_count": 1,
"total_amount": 2500,
"average_amount": 2500,
"last_order_date": "2024-02-01T10:42:59.676Z",
"last_order_amount": 2500
},
"redemptions": {
"gift": {
"amount_to_go": 0,
"redeemed_amount": 0
},
"loyalty_card": {
"points_to_go": 301,
"redeemed_points": 0
},
"total_failed": 0,
"total_redeemed": 1,
"total_succeeded": 1,
"total_rolled_back": 0,
"total_rollback_failed": 0,
"total_rollback_succeeded": 0
}
},
"birthdate": "1974-01-02",
"referrals": {
"total": 0,
"campaigns": []
},
"source_id": "lionel-johnson_deleted2024-02-01T11:16:40.918Z",
"created_at": "2024-02-01T10:42:59.594Z",
"updated_at": "2024-02-01T11:16:40.934Z",
"description": "Famous",
"system_metadata": {}
}
}
Indicates that a customer has been deleted.
Event data object schema for customer.deleted
.
Customer details with details about loyalty and referral programs.
Show child attributes
Was this page helpful?