Add Referral Code Holders

Adds new holders to a referral code as referees. The data sent in the request is upserted into the customer data.

If the request returns an error even for one customer, you have to resend the whole request. Customer data is upserted if the data for all customers is correct.

To use this endpoint, you must have the following permissions:

  • Create and modify Customers and Segments (customers.modify)
  • Publish Voucher (vouchers.publish)

📘

Alternative endpoint

This endpoint is an alternative to the Add Referral Code Holders endpoint. The URL was re-designed to retrieve the referral member holders without providing the campaignId as a path paremeter.

Language
Authorization
URL
Click Try It! to start a request and see the response here!