> ## Documentation Index
> Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all point redemption rules



## OpenAPI

````yaml /loyalty/admin-api-swagger.json get /api/external/point-redeem-rules
openapi: 3.0.1
info:
  description: ''
  title: Admin APIs
  version: 0.0.1
servers:
  - url: https://loyalty-admin.appstle.com
security: []
tags:
  - description: >-
      Admin APIs for enrolling customers into the loyalty program, retrieving
      customer loyalty details, and updating profile information such as birth
      date.
    name: Customer Enrollment & Profile
  - description: >-
      Admin APIs for managing customer point balances, transaction history,
      point earning rules, top customers leaderboard, and approving pending
      transactions.
    name: Points & Earn Rules
  - description: >-
      Admin APIs for redeeming customer points, managing redemption rules, and
      validating or updating discount codes generated through loyalty
      redemptions.
    name: Redemptions & Discount Codes
  - description: >-
      Admin APIs for retrieving storefront widget label translations consumed by
      the loyalty widget on the merchant's storefront.
    name: Storefront Widgets & Labels
paths:
  /api/external/point-redeem-rules:
    get:
      tags:
        - Redemptions & Discount Codes
      summary: Get all point redemption rules
      operationId: getAllPointRedeemRules
      parameters:
        - description: API key for authentication
          in: header
          name: X-API-Key
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PointRedeemRuleDTO'
          description: Successfully retrieved point redemption rules
        '401':
          description: Unauthorized - Invalid or missing X-API-Key
      security:
        - X-API-Key: []
components:
  schemas:
    PointRedeemRuleDTO:
      properties:
        allowedCountries:
          type: string
        allowedCustomerTags:
          type: string
        appliesOn:
          enum:
            - ONE_TIME
            - SUBSCRIPTION
            - BOTH
          type: string
        applyDiscountOnce:
          type: boolean
        applyToEachItem:
          type: boolean
        collectionData:
          type: string
        collectionId:
          format: int64
          type: integer
        combinedWithOrderDiscount:
          type: boolean
        combinedWithProductDiscount:
          type: boolean
        combinedWithShippingDiscount:
          type: boolean
        createAt:
          format: date-time
          type: string
        customerFacingIconUrl:
          type: string
        customerFacingLabel:
          type: string
        discount:
          format: double
          type: number
        discountCodeForAllCustomer:
          type: boolean
        discountCodeNodeId:
          type: string
        discountPrefixText:
          type: string
        discountType:
          enum:
            - PERCENTAGE
            - FIXED
          type: string
        earnRuleId:
          format: int64
          type: integer
        enableDiscountPrefix:
          type: boolean
        enableInterval:
          type: boolean
        enableMaximumPointsToRedeem:
          type: boolean
        enableMinimumPointsToRedeem:
          type: boolean
        enableNumberOfUsagesLimit:
          type: boolean
        enablePOS:
          type: boolean
        id:
          format: int64
          type: integer
        maximumPointsLabel:
          type: string
        maximumShippingRate:
          format: double
          type: number
        minimumPointsLabel:
          type: string
        minimumPurchaseAmount:
          format: double
          type: number
        name:
          type: string
        numberOfUsagesLimit:
          format: int32
          type: integer
        pointsCost:
          format: double
          type: number
        productData:
          type: string
        productId:
          format: int64
          type: integer
        quantity:
          format: int32
          type: integer
        redeemAllPoints:
          type: boolean
        redeemLabel:
          type: string
        redeemLimit:
          format: int32
          type: integer
        redeemPoints:
          format: double
          type: number
        referralType:
          enum:
            - EXISTING_CUSTOMER_REWARD
            - NEW_CUSTOMER_REWARD
            - VIP
          type: string
        requiredMaximumPointsToRedeem:
          format: double
          type: number
        requiredMinimumPointsToRedeem:
          format: double
          type: number
        restrictCustomers:
          type: string
        restrictCustomersWithTags:
          type: string
        rewardInterval:
          enum:
            - DAY
            - WEEK
            - MONTH
            - YEAR
            - LIFETIME
          type: string
        serial:
          format: int32
          type: integer
        shop:
          type: string
        showInPosOnly:
          type: boolean
        status:
          enum:
            - ACTIVE
            - INACTIVE
          type: string
        translations:
          type: string
        triggeredCount:
          format: int64
          type: integer
        type:
          enum:
            - DISCOUNT_CODE
            - FREE_PRODUCT
            - FREE_SHIPPING
            - PRODUCT_DISCOUNT
            - COLLECTION_DISCOUNT
            - BIRTHDAY_REWARD
            - DYNAMIC_DISCOUNT
            - STATIC_REDEEM_RULE
            - STORE_CREDIT
          type: string
        updateAt:
          format: date-time
          type: string
        variantId:
          format: int64
          type: integer
        vipTierId:
          format: int64
          type: integer
      required:
        - discount
        - discountType
        - minimumPurchaseAmount
        - name
        - redeemPoints
        - status
        - type
      type: object

````