GET

Get Referred Friend By Contact Id


Retrieves a referred friend by contact ID.

You can use me instead of a specific contact ID to get the referred friend for the current identity's contact.

Endpoint
GET
https://www.wixapis.com/referral_friends/v1/referred-friends/contact/{contactId}

Path Params
contactIdstringRequired

Contact ID or "me" to get the current identity's contact.

Response Object
referredFriendReferredFriend

Retrieved referred friend.

Get Referred Friend by Contact Id
Request
cURL
curl -X GET \ 'https://www.wixapis.com/referral_friends/v1/referred-friends/contact/me?contactId=me' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "referredFriend": { "id": "3857d039-b129-4393-b983-947078b6a007", "contactId": "661f5bb3-0723-4aa4-87d7-a21ebd1d0fa3", "referringCustomerId": "07a3306c-b311-466e-92dd-c635c4145d1c", "status": "ACTIONS_COMPLETED", "revision": "2", "createdDate": "2024-08-12T08:12:17.813Z", "updatedDate": "2024-08-12T08:13:27.708Z" } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?