POST

Create Referred Friend


Creates a new referred friend or returns an existing entity if it already exists.

This method must be called with a member identity.

A referral code must be provided either in the request or via scope.

The member must be eligible to become a referred friend.

Endpoint
POST
https://www.wixapis.com/referral_friends/v1/referred-friends

Body Params
referralCodestringminLength 12maxLength 12

Referral code for the referred friend.

Response Object
referredFriendReferredFriend

Created referred friend.

Create Referred Friend
Request
cURL
Response
JSON
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?