onboardingReferralCurrentlyAllowed
Gives a prediction on whether a referral will be valid.
Arguments
Referral code to be checked.
Returns
OnboardingReferralAllowedTypeExamples
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 OnboardingReferralCurrentlyAllowed($referralCode: String!) {
onboardingReferralCurrentlyAllowed(referralCode: $referralCode) {
referralValid
}
}
Variables
{
"referralCode": "floor-hospital-huge-ask-fish"
}
Response
{
"data": {
"onboardingReferralCurrentlyAllowed": {
"referralValid": true
}
}
}