Skip to main content
POST
Referral customers
In refer-a-friend programs, customers are either referring (sharing links) or referred (signed up via a referral link). All customer endpoints use the same /v1/customers URL as affiliate programs, but the request and response fields differ.

Create customer

Request body

*Provide at least one referring_customer field to attribute the new customer to a referrer.

Request

Create a customer who will share referral links:

Response

Response fields

List customers

cURL

Get customer

cURL

Update customer

cURL

Delete customer

Deleting a customer is permanent. Consider using archive instead.
cURL

Archive customer

Soft-deletes a customer. They can be restored later.
cURL

Restore customer

Restores a previously archived customer back to active status.
cURL

Invite a customer

Send an invitation email to a potential customer.
cURL

Search customers

cURL

Get customer stats

Returns referral statistics, click counts, and social share links for a customer.
cURL

Get customer referrals

Returns all customers referred by this customer.
cURL

Get customer transactions

Returns all transactions made by customers referred by this customer.
cURL

Get customer balance

Returns the reward balance for a customer.
cURL

Credit customer balance

Add credit to a customer’s reward balance.
cURL