Skip to main content

Arguments

input : AwardLoyaltyPointsInput! required

Input fields for awarding Loyalty Points.

Returns

AwardLoyaltyPoints

Award the specified number of Loyalty Points to the account.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can add loyalty points

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 AwardLoyaltyPoints($input: AwardLoyaltyPointsInput!) { awardLoyaltyPoints(input: $input) { ledgerEntry { ...LoyaltyPointLedgerEntryTypeFragment } pointsAwarded } }

Variables

Response

{ "data": { "awardLoyaltyPoints": { "ledgerEntry": LoyaltyPointLedgerEntryType, "pointsAwarded": 85 } } }