Reward Points | GraphQL methods

Reward Points | GraphQL methods

Queries

  1. rewards
    description: get information about customer reward points

  2. guestRewards (page: Int!)
    description: get information about highlight points available for guest

  3. getRewardsStatistic
    description: get report about reward points statistics

  4. getExpiringData
    description: information about points expiring amount and date

  5. getCustomerNotificationOptions
    description: information about customer email notification settings

  6. getRewardsProperty
    description: get information about reward points properties


Mutations

  1. useRewardPoints (input: UseRewardPointsInput)
    description: apply or cancel (set points to 0) rewards points to current cart

  2. 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 ...
      • 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 ...
      • Improved Layered Navigation | GraphQL methods

        The Improved Layered Navigation extension doesn't have its own GraphQL requests. Instead, it extends the default Magento requests by introducing supplementary details. You can get additional information stored by the Improved Layered Navigation ...
      • One Step Checkout | GraphQL methods

        Queries getAdditionalFields (cartId: String!) description: get information about additional fields getDefaultIpData description: get information about default IP address getAvailableShippingMethods (cartId: String!) description: get the information ...