Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- payload = {
- "person": {
- "first_name": null,
- "last_name": null,
- "email": "theadvocate@email.com",
- "username": null,
- "unsubscribed_at": null,
- "subscribed_at": null,
- "opted_in_at": null,
- "sub_choice": false,
- "gender": null
- },
- "origin": {
- "id": 1589041910,
- "type": "AffiliateMember",
- "email": "theadvocate@email.com",
- "customer_id": null
- },
- "campaign": {
- "id": 72548,
- "tag_names": ["popup", "popup-trigger"],
- "joinable_category_names": ["affiliate_member"],
- "origin_min_age": null,
- "origin_max_age": null,
- "new_customer": null,
- "type": "StandaloneCampaign",
- "cached_slug": 72548
- },
- "offer": {
- "short_url_code": "YEqZQB",
- "email": "theadvocate@email.com"
- },
- "reward": {
- "id": 50476356,
- "reason": "referrer",
- "incentive_type": "discount_coupon",
- "incentive_description": "shared+coupon+\"AD_5_OFF\"+for+$5+off",
- "incentive_custom_description": null,
- "amount": 5.0,
- "coupon": {
- "code": "AD_5_OFF",
- "active": true,
- "valid_until": null,
- "single_use": false,
- "used": false,
- "usages": null,
- "amount": 5.0,
- "percentage_discount": null,
- "description": "$5",
- "id": 93350578,
- "expires_at": null
- },
- "coupon_code": "AD_5_OFF",
- "status": "Paid"
- },
- "advocate_origin": {
- "id": 1589041910,
- "type": "AffiliateMember",
- "email": "theadvocate@email.com",
- "customer_id": null
- },
- "friend_origin": {
- "id": 1589042309,
- "type": "Purchase",
- "order_number": "generated-FR1537373985",
- "subtotal": 220.0,
- "email": "thefriend@email.com",
- "customer_id": null,
- "order_date": "2018-09-19T09:19:58.000-07:00",
- "coupon_code": ""
- }
- } & key = f578395fd1142d17620f13c5b270d5d8
Add Comment
Please, Sign In to add comment