
Retrieves all referral rewards and incentives earned by a specific friend through FriendBuy referral campaigns.
This integration searches FriendBuy’s anal... Read More
Retrieves all referral rewards and incentives earned by a specific friend through FriendBuy referral campaigns.
This integration searches FriendBuy’s analytics to find all the rewards, coupon codes, and incentives that have been distributed to a referred friend. It shows the complete history of what incentives a friend has received from referral campaigns, including details about who referred them and which campaigns generated the rewards.
Returns a structured response containing incentives (array of all rewards received), total_results (count of incentives found), and next_page_token for pagination. Each incentive includes details like coupon_code, incentive_amount, incentive_type, advocate_name (who referred them), advocate_email, campaign_name, referral_code, channel, trigger, and created_on timestamp.
Example Output:
{
"incentives": [{
"channel": "purl",
"trigger": "email_capture",
"created_on": "2024-03-11T18:29:46.296Z",
"campaign_id": "c4f1d476-7a15-4cd8-aeed-b8016b2a337a",
"coupon_code": "frd-xyzabc123",
"friend_name": "Sarah Chen",
"friend_email": "sarah.chen@example.com",
"advocate_name": "Mike Rodriguez",
"campaign_name": "Spring Referral Campaign",
"referral_code": "mike789x",
"advocate_email": "mike.rodriguez@example.com",
"incentive_type": "Coupon Code",
"incentive_amount": 30,
"advocate_customer_id": "8487723073621"
}],
"total_results": 1,
"next_page_token": "eyJzZWFyY2hBZnRlciI6WzE3NzMyNTM3ODYyOTZd"
} Read LessRetrieves purchase history and referral analytics from FriendBuy for a specific customer email address within a date range.
This integration searches FriendBuy&... Read More
Retrieves purchase history and referral analytics from FriendBuy for a specific customer email address within a date range.
This integration searches FriendBuy’s analytics database to find all purchase records associated with a customer’s email address. It returns detailed order information including referral data, advocate information, product details, and campaign attribution. This is particularly useful for understanding a customer’s purchase behavior and how referral programs influenced their buying decisions.
Returns a structured object containing purchase analytics with orders (array of order objects), total_results (number of matching orders), and next_page_token (for pagination). Each order includes detailed information about the purchase, referral attribution, advocate details, and individual product line items with pricing and quantities.
Example Output:
{
"orders": [
{
"order_id": "8234567890123",
"customer_id": "7123456789012",
"customer_email": "sarah.johnson@example.com",
"customer_name": "Sarah Johnson",
"campaign_id": "a2b3c4d5-6789-4abc-def1-234567890abc",
"campaign_name": "Spring Referral Campaign",
"created_on": "2024-03-15T14:22:35.891Z",
"advocate_name": "Michael Chen",
"advocate_customer_id": "7987654321098",
"advocate_email": "m.chen@example.com",
"referral_code": "spring2024x",
"order_amount": 89.47,
"is_new_customer": true,
"products": [
{
"product_name": "Premium Organic Coffee Beans",
"product_sku": "COF123456",
"quantity": 2,
"price": 24.99,
"currency": null
},
{
"product_name": "Express Shipping",
"product_sku": "SHIP001",
"quantity": 1,
"price": 9.99,
"currency": null
}
]
}
],
"total_results": 1,
"next_page_token": "eyJzZWFyY2hBZnRlciI6WzE3MTEzNjY5NTU4OTFdLCJmcm9tRGF0ZSI6IjIwMjQtMDEtMDFUMDA6MDA6MDBaIiwidG9EYXRlIjoiMjAyNC0xMi0zMVQyMzo1OTo1OVoiLCJwYWdlU2l6ZSI6MjAwfQ"
} Read LessRetrieves reward coupons and referral codes for a customer from their FriendBuy account using their email address.
This integration connects to FriendBuy’... Read More
Retrieves reward coupons and referral codes for a customer from their FriendBuy account using their email address.
This integration connects to FriendBuy’s referral marketing platform to fetch all reward coupons and referral codes associated with a specific customer email. It shows you which codes have been distributed to the customer, their current status (distributed, redeemed, etc.), when they were issued, and when they were used. This helps support teams quickly access a customer’s available rewards and referral history.
Returns a referral_codes array containing all reward coupons for the customer. Each coupon includes the referral_code (the actual coupon code), status (current state like “distributed” or “redeemed”), distributed_on (when the code was issued in ISO format), and redeemed_on (when used, or null if unused).
Example Output:
{
"referral_codes": [
{
"status": "distributed",
"redeemed_on": null,
"referral_code": "frd-xyzabc123ef",
"distributed_on": "2024-01-15T14:22:31.448Z"
}
]
} Read LessRetrieves comprehensive customer profile data from FriendBuy’s referral platform using an email address.
This integration fetches detailed customer inform... Read More
Retrieves comprehensive customer profile data from FriendBuy’s referral platform using an email address.
This integration fetches detailed customer information from FriendBuy’s referral marketing platform. When you provide a customer’s email address, it returns their complete profile including names, contact information, platform usage, language preferences, customer IDs, and their tracked purchase events. This is useful for understanding a customer’s referral activity and purchase history within your FriendBuy campaigns.
Returns a comprehensive customer profile object containing customer_ids (array of unique identifiers), emails (associated email addresses), names (customer names on file), languages (language preferences), platforms (devices/platforms used), and tracked_events (purchase history with event details including type, ID, amount, and currency).
Example Output:
{
"customer_ids": ["7382947291847"],
"emails": ["sarah.johnson@example.com"],
"names": ["Sarah Johnson", "S. Johnson"],
"languages": ["en-US", "unknown"],
"platforms": ["iPhone", "unknown"],
"tracked_events": [
{
"event_type": "purchase",
"event_id": "5829347182947",
"amount": 45.99,
"currency": "USD"
},
{
"event_type": "purchase",
"event_id": "5829347182947",
"amount": 45.99,
"currency": "USD"
}
]
} Read Less