v1
latestOpenAPI 3.0.12026-07-24501176.6 MBAdd Referrals
Lets you add customer referral details that contain referees, referred date, and the associated channel.
get/customers/{userId}/referrals
Path parameters
userIdinteger required
Unique ID of the customer to fetch coupon details.
Request body
Response
200
Example response
{
"customerReferrals": [
{
"customer": {
"id": 420007388,
"mobile": "918867710031",
"email": "tom.swayer@capillarytech.com"
},
"campaignToken": "CWRME",
"referrals": [
{
"type": "MOBILE",
"referral": [
{
"name": "some random name",
"identifier": "918867710032",
"invitedOn": "2021-12-16 13:15:45"
}
]
}
]
}
]
}