Get Referral Details

Retrieves the stats of the referrals along with the unique referral code of a specific customer.

Query Params
string

Mobile number of the customer.

string

Email ID of the customer.

string

External ID of the customer.

int64

Unique ID of the customer.

string

Pass the specific token id of the referral campaign that you want to fetch. If no campaign id is passed, the details of the customer’s referral history of the default campaign will be retrieved

date

Get customers referred on or after a specific date (YYYY-MM-DD). To get referral history of a specific duration, pass the date range in start_date and end_date.

date

Get customers referred before a specific date (YYYY-MM-DD). To get referral history of a specific duration, pass the date range in start_date and end_date.

string

Retrieve referral stats of the specific store. Default value will be the current store. Set all to track details from all the stores

string
enum

Order the results by a specific entry. valid_till is for issued_till.

Allowed:
string
enum

Sort the results in ascending (asc) or descending (desc) order of order_by.

Allowed:
int32

Limit the number of results to be retrieved. For example: limit=10 to retrieve the history of ten recent coupons of the customer.

boolean

Set true to retrieve the referral code of the respective referral campaigns (of the specific customer).

Responses

Language
Credentials
Basic
base64
:
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json