Skip to main content
Retrieve the referral link for the currently logged-in customer, along with social sharing configuration.

Usage

Response

boolean
Whether the request was successful.
boolean
Whether the referral program is enabled for this shop.
string
The customer’s unique referral code.
string
Full referral URL that can be shared.
object
Quick referral statistics.
object
Social sharing configuration set by the merchant.

Sample response

Example: Share buttons