Reward Points | GraphQL methods
Queries
rewards
description: get information about customer reward points
- guestRewards (page: Int!)
description: get information about highlight points available for guest
- getRewardsStatistic
description: get report about reward points statistics
- getExpiringData
description: information about points expiring amount and date
- getCustomerNotificationOptions
description: information about customer email notification settings
- getRewardsProperty
description: get information about reward points properties
Mutations
- useRewardPoints (input: UseRewardPointsInput)
description: apply or cancel (set points to 0) rewards points to current cart
- saveNotificationOptions (input: SaveNotificationOptionsInput)
description: save notification settings
Related Articles
What Amasty extensions support GraphQL?
Amasty has introduced additional GraphQL packages for extensions that are GraphQL compatible. These packages are listed in the 'suggest' section of the composer.json file. As a result, they are not automatically installed with the main module. To ...
Advanced Conditions API (+Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions)
Advanced Conditions can be purchased both separately and within other Amasty modules: Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions. The Advanced Conditions extension adds its functionality to the main modules, which ...
Will I be able to reward end customers with points, or can your Reward Points and Affiliate extensions be combined to achieve this?
Out of the box, the Affiliate extension doesn’t have an option to provide customers with points. Reward Points and Affiliate are separate extensions that work individually and are not integrated with each other. As an option, the admin can add reward ...
Multiple Coupons | GraphQL methods
Kindly note that the GraphQL functionality for Multiple Coupons is available as a part of an active product subscription or support subscription. Query amGetCouponsByCartId description: get coupons by cart id Mutations amApplyCouponsToCart ...
Reward Points API
1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...