Last active
February 13, 2018 16:53
-
-
Save tshuck/94f0a39af5e3881b9fff7382a9d21854 to your computer and use it in GitHub Desktop.
Hatch Webhook -- Manual Point Adjustment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"type": "webhook", | |
"id": "6c556e92-301c-43fc-8891-9bafa85ed70f", | |
"attributes": { | |
"event": "points.manual", | |
"payload": { | |
"membership": { | |
"id": "354067ec-ff43-487b-91ed-9134ac79954d", | |
"chain_id": "24f31117-4457-4e4b-be45-15831a220acc", | |
"email": "jane@example.com", | |
"phone": "5556667777", | |
"custom_data": {} | |
}, | |
"adjustment_user": { | |
"id": "e74e7531-3921-4665-b004-4cbb35ba5261", | |
"email": "hatch-admin@hatchloyalty.com" | |
}, | |
"point_change": { | |
"id": "fc96c9e9-4285-49e2-bed1-27ff710c5118", | |
"quantity": 150, | |
"notes": "Point reimbursement for incorrect product upc" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment