businessAccountReferralRewardScheme
Return a business referral reward scheme for the given account referral code.
Arguments
Friend referral code.
Returns
ReferralSchemeTypeA referral scheme is a way for one account to earn a reward for referring another. This is achieved by the referred account using a url (provided by the referring account) to sign up.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query BusinessAccountReferralRewardScheme($code: String!) {
businessAccountReferralRewardScheme(code: $code) {
canBeReferred
code
combinedRewardAmount
isUsageAtCapacity
loyaltyPointsBonus
maxRecurrence
referralDisplayUrl
referralUrl
referredRewardAmount
referrerGivenName
referrerRewardAmount
schemeType
}
}
Variables
{
"code": "strong-own-call-deal-nation"
}
Response
{
"data": {
"businessAccountReferralRewardScheme": {
"canBeReferred": true,
"code": "reveal-sister-start-perhaps-public",
"combinedRewardAmount": 71,
"isUsageAtCapacity": true,
"loyaltyPointsBonus": 96,
"maxRecurrence": 89,
"referralDisplayUrl": "day-federal-Mr-any-television",
"referralUrl": "easy-sing-radio-land-involve",
"referredRewardAmount": 33,
"referrerGivenName": "Amber",
"referrerRewardAmount": 69,
"schemeType": "law-how-full-election-agency"
}
}
}