Skip to main content

Arguments

The account number to enroll in the loyalty program.

Returns

EnrollAccountInLoyaltyProgram

Enroll an account into the loyalty program.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can enrol customers in campaigns
OR Can join campaigns

Query Complexity

1

Examples

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

mutation EnrollAccountInLoyaltyProgram($input: EnrollAccountInLoyaltyProgramInput!) { enrollAccountInLoyaltyProgram(input: $input) { outcome { ...EnrollAccountInLoyaltyProgramOutcomeFragment } } }

Variables

Response

{ "data": { "enrollAccountInLoyaltyProgram": { "outcome": EnrollAccountInLoyaltyProgramOutcome } } }