Customers
List all customers
Retrieve a paginated list of the customers you referred across all the programs you’re enrolled in, sorted by newest first. Each program’s data sharing settings decide whether you see a customer’s name, email and sales.
GET
List all customers
This endpoint requires an API key with the
customers.read
scope.- If the program doesn’t share customer data with you,
nameisnull,emailis masked, andsearchdoesn’t match its customers. - If the program doesn’t share revenue with you,
saleAmountisnull. Sorting bysaleAmountrequires aprogramIdfor a program that shares revenue with you.
programId for one of these programs returns a 403 error.Headers
Query Parameters
The field to sort the list of customers by. saleAmount requires a programId for a program that shares revenue with you. Customers without a firstSaleAt or subscriptionCanceledAt come last in descending order and first in ascending order.
Available options:
createdAt, saleAmount, firstSaleAt, subscriptionCanceledAt