Retrieve the referral link for the currently logged-in customer, along with social sharing configuration.
Usage
Response
Whether the request was successful.
Whether the referral program is enabled for this shop.
The customer’s unique referral code.
Full referral URL that can be shared.
Quick referral statistics.
Total number of people referred.
Number of completed referrals.
Number of pending referrals.
Social sharing configuration set by the merchant.Show Social sharing properties
Whether Twitter/X sharing is enabled.
Pre-filled message for Twitter/X shares.
Whether Facebook sharing is enabled.
Whether email sharing is enabled.
Whether WhatsApp sharing is enabled.
Pre-filled message for WhatsApp shares.
Whether SMS sharing is enabled.
Pre-filled message for SMS shares.
Sample response