enrollAccountInLoyaltyProgram
Enroll an account into the loyalty program.
Arguments
The account number to enroll in the loyalty program.
Possible Errors
Allowed Viewers
Required Permissions
Can enrol customers in campaignsCan join campaigns
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.
mutation EnrollAccountInLoyaltyProgram($input: EnrollAccountInLoyaltyProgramInput!) {
enrollAccountInLoyaltyProgram(input: $input) {
outcome {
...EnrollAccountInLoyaltyProgramOutcomeFragment
}
}
}
Variables
{
"input": EnrollAccountInLoyaltyProgramInput
}
Response
{
"data": {
"enrollAccountInLoyaltyProgram": {
"outcome": EnrollAccountInLoyaltyProgramOutcome
}
}
}