openapi: 3.0.0
info:
  title: Joy Loyalty Program - API REST
  version: 1.0.0
servers:
  - url: https://dev-api.joy.so
tags:
  - name: Earning programs
  - name: Redeeming programs
  - name: Rewards
  - name: Customers
  - name: VIPs
  - name: Point history
  - name: Referral
  - name: Points
paths:
  /rest_api/v1/earning:
    get:
      tags:
        - Earning programs
      summary: List programs
      description: Get a list of all earning programs.
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '780'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqpnk3m0g0
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: a99e13be9916b2e6fcbd26383656c18a;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:27:54 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17935-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690529274.979293,VS0,VE937
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization,x-fh-requested-host,accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        showLoyaltyPage:
                          type: boolean
                        social:
                          type: string
                        urlLocation:
                          type: string
                        limitUnit:
                          type: string
                        urlAccount:
                          type: string
                        title:
                          type: string
                        type:
                          type: string
                        priority:
                          type: integer
                        earnPoint:
                          type: integer
                        signUpGuide:
                          type: string
                        enabledAntiCheat:
                          type: boolean
                        hasLimit:
                          type: boolean
                        action:
                          type: string
                        earnPointsTiers:
                          type: object
                          additionalProperties:
                            type: object
                            properties:
                              earnPoint:
                                type: integer
                              limitUnit:
                                type: string
                        shopId:
                          type: string
                        event:
                          type: string
                        startDate:
                          type: string
                          format: date
                        expired:
                          type: boolean
                        id:
                          type: string
                        changeProgramTitle:
                          type: boolean
                        isDraft:
                          type: boolean
                        rateMoney:
                          type: string
                        translateTitle:
                          type: object
                          additionalProperties:
                            type: string
                        createdAt:
                          type: string
                          format: date-time
                        giftStatus:
                          type: string
                        status:
                          type: boolean
                        updatedAt:
                          type: string
                          format: date-time
              example:
                data:
                  - showLoyaltyPage: true
                    social: "telegram"
                    urlLocation: ""
                    limitUnit: "lifetime"
                    urlAccount: "https://t.me/joinchat"
                    title: "Join Telegram"
                    type: "earning"
                    priority: 24
                    earnPoint: 100
                    signUpGuide: ""
                    enabledAntiCheat: false
                    hasLimit: true
                    action: "join"
                    earnPointsTiers:
                      0d3c2cea-e35a-411f-b3ba-f631bb57e653:
                        earnPoint: 100
                        limitUnit: "lifetime"
                    shopId: "tDWV2ZZn5Vv1vqu6ikqM"
                    event: "join_telegram"
                    startDate: "2024-10-02"
                    expired: false
                    id: "5ZPAfgWnepkwxNuVwO2F"
                    changeProgramTitle: false
                    isDraft: false
                    rateMoney: "1"
                    translateTitle: { }
                    createdAt: "2024-10-02T09:35:38.230Z"
                    giftStatus: "none"
                    status: false
                    updatedAt: "2024-10-17T07:16:35.567Z"
  /rest_api/v1/earning-programs-by-customer:
    get:
      tags:
        - Earning programs
      summary: List all earning programs available to a specific customer
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
        - name: ''
          in: header
          schema:
            type: string
        - name: customerId
          in: query
          schema:
            type: string
          description: At least one of customerId or shopifyCustomerId is required. priority
          example: '{{customerId}}'
      responses:
        '200':
          description: OK
          headers:
            x-powered-by:
              schema:
                type: string
                example: Express
            Vary:
              schema:
                type: string
                example: Origin, Accept-Encoding, Authorization, Cookie
            access-control-allow-origin:
              schema:
                type: string
                example: '*'
            content-type:
              schema:
                type: string
                example: application/json; charset=utf-8
            date:
              schema:
                type: string
                example: Tue, 31 Oct 2023 06:30:12 GMT
            connection:
              schema:
                type: string
                example: keep-alive
            keep-alive:
              schema:
                type: string
                example: timeout=5
            cache-control:
              schema:
                type: string
                example: private
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        excludePOSOrderProducts:
                          type: boolean
                        limitUnit:
                          type: string
                        includeProducts:
                          type: array
                          items:
                            type: object
                            properties:
                              image:
                                type: object
                                properties:
                                  src:
                                    type: string
                              images:
                                type: array
                                items:
                                  type: object
                              options:
                                type: array
                                items:
                                  type: object
                              handle:
                                type: string
                              id:
                                type: integer
                              variants:
                                type: array
                                items:
                                  type: object
                              title:
                                type: string
                        rateMoney:
                          type: integer
                        autoRemovePoints:
                          type: boolean
                        earnBy:
                          type: string
                        type:
                          type: string
                        title:
                          type: string
                        excludeOSOrderProducts:
                          type: boolean
                        priority:
                          type: integer
                        hasLimit:
                          type: boolean
                        typeProductMatch:
                          type: string
                        typeCondition:
                          type: string
                        shopId:
                          type: string
                        event:
                          type: string
                        conditions:
                          type: array
                          items:
                            type: object
                            properties:
                              field:
                                type: string
                              typeMatch:
                                type: string
                              content:
                                type: string
                        limitInterval:
                          type: integer
                        giftStatus:
                          type: string
                        status:
                          type: boolean
                        excludeProducts:
                          type: array
                          items:
                            type: object
                            properties:
                              image:
                                type: object
                                properties:
                                  src:
                                    type: string
                              images:
                                type: array
                                items:
                                  type: object
                              options:
                                type: array
                                items:
                                  type: object
                              handle:
                                type: string
                              id:
                                type: integer
                              variants:
                                type: array
                                items:
                                  type: object
                              title:
                                type: string
                        statusUseCondition:
                          type: boolean
                        changeProgramTitle:
                          type: boolean
                        expired:
                          type: boolean
                        isDraft:
                          type: boolean
                        appliedPlaceOrderTo:
                          type: string
                        earnPoint:
                          type: integer
                        earnPointsTiers:
                          type: object
                          additionalProperties:
                            type: object
                            properties:
                              earnPoint:
                                type: integer
                        createdAt:
                          type: string
                          format: date-time
                        translateTitle:
                          type: string
                        updatedAt:
                          type: string
                          format: date-time
                        isEarned:
                          type: boolean
                example:
                  data:
                    - id: "4c34m1vNgXivLXJmrEFB"
                      excludePOSOrderProducts: false
                      limitUnit: "minute"
                      includeProducts: [ ]
                      rateMoney: 100
                      autoRemovePoints: true
                      earnBy: "price"
                      type: "earning"
                      title: "Place Order"
                      excludeOSOrderProducts: false
                      priority: 0
                      hasLimit: false
                      typeProductMatch: "all"
                      typeCondition: "all"
                      shopId: "umN0f3GKyQC3XS1AwVWg"
                      event: "place_order"
                      conditions:
                        - field: "title"
                          typeMatch: "contains"
                          content: ""
                      limitInterval: 1
                      giftStatus: "none"
                      status: true
                      excludeProducts:
                        - image:
                            src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/gift_card.png?v=1703045153"
                          images:
                            - updated_at: "2023-12-19T23:05:53-05:00"
                              src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/gift_card.png?v=1703045153"
                              product_id: 8209413800171
                              admin_graphql_api_id: "gid://shopify/ProductImage/40721516593387"
                              alt: "Gift card that shows text: Generated data gift card"
                              width: 2881
                              created_at: "2023-12-19T23:05:53-05:00"
                              variant_ids: [ ]
                              id: 40721516593387
                              position: 1
                              height: 2881
                          options:
                            - product_id: 8209413800171
                              values:
                                - "$10"
                                - "$25"
                                - "$50"
                                - "$100"
                              name: "Denominations"
                              id: 10444919046379
                              position: 1
                          handle: "gift-card"
                          id: 8209413800171
                          variants:
                            - inventory_quantity: 0
                              src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/gift_card.png?v=1703045153"
                              price: "10"
                              option3: null
                              option1: "$10"
                              id: 44438017409259
                              option2: null
                              title: "$10"
                          title: "Gift Card"
                      statusUseCondition: true
                      changeProgramTitle: false
                      expired: false
                      isDraft: false
                      appliedPlaceOrderTo: "all"
                      earnPoint: 12
                      earnPointsTiers:
                        "1Fe1kqHZbE7Alx1GmFEC":
                          earnPoint: 12
                      createdAt: "2023-12-20T04:16:40.318Z"
                      translateTitle: "وضع الطلب"
                      updatedAt: "2024-08-30T09:50:37.994Z"
                      isEarned: false
  /rest_api/v1/earning/{programId}:
    get:
      tags:
        - Earning programs
      summary: Get an earning program
      description: Retrieve an earning program by its ID.
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
        - name: programId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '778'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqemnylpup
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: f97b95965104d3b8ed52b5d3ca0df3e6;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:32:07 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17935-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690529527.927732,VS0,VE614
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  program:
                    type: object
                    properties:
                      id:
                        type: string
                      limitUnit:
                        type: string
                      includeProducts:
                        type: array
                        items: { }
                      autoRemovePoints:
                        type: boolean
                      earnBy:
                        type: string
                      type:
                        type: string
                      title:
                        type: string
                      priority:
                        type: integer
                      productPointsCalculator:
                        type: object
                        properties:
                          color:
                            type: string
                          fontSize:
                            type: integer
                          type:
                            type: string
                          font:
                            type: string
                      earnPoint:
                        type: integer
                      hasLimit:
                        type: boolean
                      typeProductMatch:
                        type: string
                      priorityPlaceOrder:
                        type: integer
                      typeCondition:
                        type: string
                      statusProductPointsCalculator:
                        type: boolean
                      shopId:
                        type: string
                      event:
                        type: string
                      conditions:
                        type: array
                        items:
                          type: object
                          properties:
                            field:
                              type: string
                            typeMatch:
                              type: string
                            content:
                              type: string
                      excludeProducts:
                        type: array
                        items: { }
                      statusUseCondition:
                        type: boolean
                      status:
                        type: boolean
                      limitInterval:
                        type: integer
                      createdAt:
                        type: string
                        format: date-time
                      rateMoney:
                        type: integer
                      updatedAt:
                        type: string
                        format: date-time
                      appliedCollectionIds:
                        type: array
                        items: { }
              example:
                success: true
                program:
                  id: VHXPHriWMQlJYSBZbLmR
                  limitUnit: minute
                  includeProducts: [ ]
                  autoRemovePoints: true
                  earnBy: price
                  type: earning
                  title: Place Order
                  priority: 1
                  productPointsCalculator:
                    color: '#8F00C1'
                    fontSize: 14
                    type: congratulation
                    font: Noto+Sans
                  earnPoint: 10
                  hasLimit: false
                  typeProductMatch: all
                  priorityPlaceOrder: 1
                  typeCondition: all
                  statusProductPointsCalculator: false
                  shopId: nDaevBKY0zGCzmJz8mCv
                  event: place_order
                  conditions:
                    - field: title
                      typeMatch: contains
                      content: ''
                  excludeProducts: [ ]
                  statusUseCondition: false
                  status: true
                  limitInterval: 1
                  createdAt: '2023-07-14T04:06:21.048Z'
                  rateMoney: 1
                  updatedAt: '2023-07-14T04:07:23.364Z'
                  appliedCollectionIds: []
  /rest_api/v1/earn/calc-points:
    post:
      tags:
        - Earning programs
      summary: Calculate Earning Points
      description: Calculate the points a user would earn for a given activity without actually awarding the points.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                products:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: number
                      quantity:
                        type: number
                      price:
                        type: number
                    required:
                      - id
                      - price
                      - quantity
                shopifyCustomerId:
                  type: number
                sourceName:
                  type: string
                  enum:
                    - web
                    - pos
              required:
                - products
              example:
                products:
                  - id: 8209413964011
                    quantity: 1
                    price: 630
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '778'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqemnylpup
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: f97b95965104d3b8ed52b5d3ca0df3e6;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:32:07 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17935-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690529527.927732,VS0,VE614
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      pointsEarn:
                        type: number
                      products:
                        type: array
                  success:
                    type: boolean
                example:
                  data:
                    pointsEarn: 264
                    products:
                      - title: "The Multi-managed Snowboard"
                        vendor: "Multi-managed Vendor"
                        tags:
                          - "Premium"
                          - "Snow"
                          - "Snowboard"
                          - "Sport"
                          - "Winter"
                        variants:
                          nodes:
                            - id: "gid://shopify/ProductVariant/44438017671403"
                        resourcePublicationsV2:
                          nodes:
                            - publication:
                                name: "Online Store"
                        published_scope: "web"
                        id: 8209413964011
                        type: ""
                        collections:
                          - title: "Automated Collection"
                            published_scope: "web"
                  success: true
  /rest_api/v1/earn/interact-social:
    post:
      tags:
        - Earning programs
      summary: Social Interaction Points
      description: Calculate and award points for a social interaction activity.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                shopifyCustomerId:
                  type: number
                earningId:
                  type: number
              required:
                - shopifyCustomerId
                - earningId
              example:
                shopifyCustomerId: 7106943058056
                earningId: Y224ET3WNTuVHbEf0nib
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which is retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which is retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '500'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:32:07 GMT
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      newPoint:
                        type: number
                example:
                  success: true
                  data:
                    newPoint: 100
  /rest_api/v1/spending/{spendingProgramId}:
    get:
      tags:
        - Redeeming programs
      summary: Get a redeeming program
      description: |
        Get a specific redeeming program by its ID.
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: spendingProgramId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '11106'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqkmeanayc
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 3157b05730bacc0dfd88392f996e6f38;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:45:46 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1690530346.316420,VS0,VE520
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      enableRefundPointRedeem:
                        type: boolean
                      redeemed:
                        type: number
                      prefix:
                        type: string
                      isLimitIntervalCustomer:
                        type: boolean
                      combinedWith:
                        type: array
                        items:
                          type: string
                      type:
                        type: string
                      title:
                        type: string
                      specificProductIds:
                        type: array
                        items:
                          type: number
                      limitIntervalCustomer:
                        type: number
                      appliedDiscountToSaleChannel:
                        type: string
                      variantId:
                        type: string
                        nullable: true
                      shopId:
                        type: string
                      event:
                        type: string
                      redeemIn:
                        type: string
                      spendPoint:
                        type: number
                      limitRedeem:
                        type: string
                      showLoyaltyPage:
                        type: boolean
                      isUsePrefixDiscountCode:
                        type: boolean
                      userAvailability:
                        type: string
                      totalLimitationRedeem:
                        type: number
                      earnAmount:
                        type: number
                      priority:
                        type: number
                      appliedCollectionIds:
                        type: array
                        items:
                          type: number
                      variantIds:
                        type: array
                        items:
                          type: number
                      redeemType:
                        type: string
                      appliedTo:
                        type: string
                      specificProducts:
                        type: array
                        items:
                          type: object
                          properties:
                            image:
                              type: object
                            images:
                              type: array
                            options:
                              type: array
                            handle:
                              type: string
                            id:
                              type: number
                            variants:
                              type: array
                            title:
                              type: string
                      createdAt:
                        type: string
                        format: date-time
                      expired:
                        type: boolean
                      isDraft:
                        type: boolean
                      giftStatus:
                        type: string
                      status:
                        type: boolean
                      listShopifyIdDiscount:
                        type: array
                        items:
                          type: string
                      translateTitle:
                        type: string
                      updatedAt:
                        type: string
                        format: date-time
                      friendSpecificProducts:
                        type: array
                        items:
                          type: object
                      customerSpecificProductIds:
                        type: array
                        items:
                          type: number
                      customerSpecificProducts:
                        type: array
                        items:
                          type: object
                      friendSpecificProductIds:
                        type: array
                        items:
                          type: number
                example:
                  data:
                    id: "aYorhxYUTkUKIDZgL1R5"
                    enableRefundPointRedeem: false
                    redeemed: 0
                    prefix: "SW-"
                    isLimitIntervalCustomer: false
                    combinedWith:
                      - "orderDiscounts"
                      - "productDiscounts"
                      - "shippingDiscounts"
                    type: "spending"
                    title: "Free Product Test"
                    specificProductIds:
                      - 44438017147115
                    limitIntervalCustomer: 0
                    appliedDiscountToSaleChannel: "applyOnlineStore"
                    variantId: null
                    shopId: "umN0f3GKyQC3XS1AwVWg"
                    event: "free_gift"
                    redeemIn: "available_in_online_store"
                    spendPoint: 200
                    limitRedeem: "redeemWithoutLimit"
                    showLoyaltyPage: true
                    isUsePrefixDiscountCode: true
                    userAvailability: "userRedeemed"
                    totalLimitationRedeem: 0
                    earnAmount: 700
                    priority: 0
                    appliedCollectionIds: [ ]
                    variantIds:
                      - 44438017147115
                      - 44438017147115
                      - 44438017179883
                      - 44438017245419
                    redeemType: "fixed"
                    appliedTo: "sf_product"
                    specificProducts:
                      - image:
                          src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                        id: 8209413669099
                        title: "The Complete Snowboard"
                    createdAt: "2024-08-27T08:09:46.757Z"
                    expired: false
                    isDraft: false
                    giftStatus: "none"
                    status: true
                    listShopifyIdDiscount:
                      - "1370365395179"
                      - "1370365460715"
                    translateTitle: "اختبار المنتج مجانا"
                    updatedAt: "2024-08-30T09:50:38.967Z"
                    friendSpecificProducts:
                      - image:
                          src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                        id: 8209413669099
                        title: "The Complete Snowboard"
                    customerSpecificProductIds:
                      - 44438017147115
                    customerSpecificProducts:
                      - image:
                          src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                        id: 8209413669099
                        title: "The Complete Snowboard"
                    friendSpecificProductIds:
                      - 44438017147115
  /rest_api/v1/spending:
    get:
      tags:
        - Redeeming programs
      summary: Get redeeming program list
      description: |
        The list of redeeming program
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '780'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqgkj8uwmq
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 2e9d71bb00d54086a9fca3422f7bea34;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:48:49 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690530529.730817,VS0,VE590
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        enableRefundPointRedeem:
                          type: boolean
                        redeemed:
                          type: integer
                        prefix:
                          type: string
                        isLimitIntervalCustomer:
                          type: boolean
                        combinedWith:
                          type: array
                          items:
                            type: string
                        type:
                          type: string
                        title:
                          type: string
                        specificProductIds:
                          type: array
                          items:
                            type: number
                        limitIntervalCustomer:
                          type: number
                        appliedDiscountToSaleChannel:
                          type: string
                        variantId:
                          type: string
                          nullable: true
                        shopId:
                          type: string
                        event:
                          type: string
                        redeemIn:
                          type: string
                        spendPoint:
                          type: number
                        limitRedeem:
                          type: string
                        showLoyaltyPage:
                          type: boolean
                        isUsePrefixDiscountCode:
                          type: boolean
                        userAvailability:
                          type: string
                        totalLimitationRedeem:
                          type: number
                        earnAmount:
                          type: number
                        priority:
                          type: number
                        appliedCollectionIds:
                          type: array
                          items:
                            type: number
                        variantIds:
                          type: array
                          items:
                            type: integer
                        redeemType:
                          type: string
                        appliedTo:
                          type: string
                        specificProducts:
                          type: array
                          items:
                            type: object
                            properties:
                              image:
                                type: object
                              images:
                                type: array
                              options:
                                type: array
                              handle:
                                type: string
                              id:
                                type: number
                              variants:
                                type: array
                              title:
                                type: string
                        createdAt:
                          type: string
                          format: date-time
                        expired:
                          type: boolean
                        isDraft:
                          type: boolean
                        giftStatus:
                          type: string
                        status:
                          type: boolean
                        listShopifyIdDiscount:
                          type: array
                          items:
                            type: string
                        translateTitle:
                          type: string
                        updatedAt:
                          type: string
                          format: date-time
                        friendSpecificProducts:
                          type: array
                          items:
                            type: object
                        customerSpecificProductIds:
                          type: array
                          items:
                            type: number
                        customerSpecificProducts:
                          type: array
                          items:
                            type: object
                        friendSpecificProductIds:
                          type: array
                          items:
                            type: number
                example:
                  data:
                    - id: "aYorhxYUTkUKIDZgL1R5"
                      enableRefundPointRedeem: false
                      redeemed: 0
                      prefix: "SW-"
                      isLimitIntervalCustomer: false
                      combinedWith:
                        - "orderDiscounts"
                        - "productDiscounts"
                        - "shippingDiscounts"
                      type: "spending"
                      title: "Free Product Test"
                      specificProductIds:
                        - 44438017147115
                      limitIntervalCustomer: 0
                      appliedDiscountToSaleChannel: "applyOnlineStore"
                      variantId: null
                      shopId: "umN0f3GKyQC3XS1AwVWg"
                      event: "free_gift"
                      redeemIn: "available_in_online_store"
                      spendPoint: 200
                      limitRedeem: "redeemWithoutLimit"
                      showLoyaltyPage: true
                      isUsePrefixDiscountCode: true
                      userAvailability: "userRedeemed"
                      totalLimitationRedeem: 0
                      earnAmount: 700
                      priority: 0
                      appliedCollectionIds: [ ]
                      variantIds:
                        - 44438017147115
                        - 44438017147115
                        - 44438017179883
                        - 44438017245419
                      redeemType: "fixed"
                      appliedTo: "sf_product"
                      specificProducts:
                        - image:
                            src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                          id: 8209413669099
                          title: "The Complete Snowboard"
                      createdAt: "2024-08-27T08:09:46.757Z"
                      expired: false
                      isDraft: false
                      giftStatus: "none"
                      status: true
                      listShopifyIdDiscount:
                        - "1370365395179"
                        - "1370365460715"
                      translateTitle: "اختبار المنتج مجانا"
                      updatedAt: "2024-08-30T09:50:38.967Z"
                      friendSpecificProducts:
                        - image:
                            src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                          id: 8209413669099
                          title: "The Complete Snowboard"
                      customerSpecificProductIds:
                        - 44438017147115
                      customerSpecificProducts:
                        - image:
                            src: "https://cdn.shopify.com/s/files/1/0680/3950/8203/products/Main_589fc064-24a2-4236-9eaf-13b2bd35d21d.jpg?v=1703045153"
                          id: 8209413669099
                          title: "The Complete Snowboard"
                      friendSpecificProductIds:
                        - 44438017147115
  /rest_api/v1/redeem:
    post:
      tags:
        - Redeeming programs
      summary: Redeem loyalty points
      description: Redeem customer loyalty points for discounts or rewards.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                customerId:
                  type: string
                  description: The unique ID of the customer
                programId:
                  type: string
                  description: The ID of the loyalty program
                locale:
                  type: string
                  description: The locale of the customer
                redeemPoint:
                  type: number
                  description: Number of points the customer wants to redeem
                shopifyCustomerId:
                  type: number
                  description: The Shopify customer ID
                source:
                  type: string
                  description: The source of the redemption request
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which is retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which is retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '500'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:32:07 GMT
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      customer:
                        type: object
                        properties:
                          id:
                            type: string
                          shopifyCustomerId:
                            type: number
                          totalSpent:
                            type: number
                          name:
                            type: string
                          state:
                            type: string
                          shopId:
                            type: string
                          type:
                            type: string
                          acceptsMarketing:
                            type: boolean
                          email:
                            type: string
                          createdAt:
                            type: string
                            format: date-time
                          hasPoint:
                            type: boolean
                          urlReferral:
                            type: string
                          latestActivity:
                            type: string
                            format: date-time
                          point:
                            type: number
                          updatedAt:
                            type: string
                            format: date-time
                          appliedCollectionIds:
                            type: array
                            items:
                              type: number
                      discount:
                        type: object
                        properties:
                          id:
                            type: number
                          price_rule_id:
                            type: number
                          code:
                            type: string
                          usage_count:
                            type: number
                          created_at:
                            type: string
                            format: date-time
                          updated_at:
                            type: string
                            format: date-time
              example:
                data:
                  customer:
                    id: "2GEU2AwtJ84twLyrnjCp"
                    shopifyCustomerId: 7114710712597
                    totalSpent: 0
                    name: "Joy Redeem"
                    state: "enabled"
                    shopId: "nDaevBKY0zGCzmJz8mCv"
                    type: "member"
                    acceptsMarketing: false
                    email: "thanhpt@avada.email"
                    createdAt: "2023-07-14T04:08:59.471Z"
                    hasPoint: true
                    urlReferral: "https://avadajoystaging.page.link/wsyg"
                    latestActivity: "2023-07-28T07:47:29.598Z"
                    point: 98992000
                    updatedAt: "2023-07-28T07:47:29.598Z"
                    appliedCollectionIds: [ ]
                  discount:
                    id: 19360491045141
                    price_rule_id: 1388362170645
                    code: "JOY-Y9XI6N40OLBZ"
                    usage_count: 0
                    created_at: "2023-07-28T03:47:43-04:00"
                    updated_at: "2023-07-28T03:47:43-04:00"
  /rest_api/v1/rewards:
    get:
      tags:
        - Rewards
      summary: List customer rewards
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
        - name: customerId
          in: query
          schema:
            type: string
          example: '{{customerId}}'
        - name: before
          in: query
          schema:
            type: string
        - name: after
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '116744'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqqwplx378
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: be4a6fcc0817c7a49a28e2b4c5fd06c3;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:50:21 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1690530620.028077,VS0,VE1109
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              example:
                data:
                  - id: NLNzDOgHBMt7gLiUx4CY
                    redeemPoint: 1000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388362170645
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360491045141
                    couponCode: JOY-Y9XI6N40OLBZ
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T07:47:43.442Z'
                    updatedAt: '2023-07-28T07:47:43.442Z'
                  - id: BApZ27NZQAJDFltbtQvu
                    redeemPoint: 1000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388362137877
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360490979605
                    couponCode: JOY-WO6AVUHWH77O
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T07:47:29.454Z'
                    updatedAt: '2023-07-28T07:47:29.454Z'
                  - id: thauTpe0cv1sewYO0zXT
                    redeemPoint: 1000000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388360040725
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360467943701
                    couponCode: JOY-UWK7B2URRD8N
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:59:20.947Z'
                    updatedAt: '2023-07-28T06:59:20.947Z'
                  - id: nlNSGX4hkmhxvdTdKH5j
                    redeemPoint: 200
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359942421
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360467779861
                    couponCode: JOY-VKK8RCP5YWZY
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:57:24.992Z'
                    updatedAt: '2023-07-28T06:57:24.992Z'
                  - id: 6TbboXJsXGj6DBqAHYvj
                    redeemPoint: 200
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359713045
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360467288341
                    couponCode: JOY-ZAJEKZMUU5H8
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:50:33.990Z'
                    updatedAt: '2023-07-28T06:50:33.990Z'
                  - id: NsBX2cg3s3BeXpsKKI9W
                    redeemPoint: -500
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359680277
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360467222805
                    couponCode: JOY-M6DBRMYOCQ55
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:50:10.868Z'
                    updatedAt: '2023-07-28T06:50:10.868Z'
                  - id: dkAsBQmK075majFBqi6L
                    redeemPoint: 500
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359647509
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360467190037
                    couponCode: JOY-G3UB8IAV3QI2
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:49:54.369Z'
                    updatedAt: '2023-07-28T06:49:54.369Z'
                  - id: apjA7vNtKqormxRfibEs
                    redeemPoint: 1000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359549205
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360466927893
                    couponCode: JOY-QA5S4YTH0NXS
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:47:45.771Z'
                    updatedAt: '2023-07-28T06:47:45.771Z'
                  - id: N89fkgQY9Z382QprhFqr
                    redeemPoint: 1000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388359516437
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19360466895125
                    couponCode: JOY-DY5G5D8S15NN
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-28T06:47:25.796Z'
                    updatedAt: '2023-07-28T06:47:25.796Z'
                  - id: IRbbOJMbBoO729LdV5NE
                    redeemPoint: 1000
                    program:
                      spendPoint: 1000
                      orderReq: none
                      freeProductIds: []
                      prefix: JOY-
                      maxSpendPoint: ''
                      earnAmount: '10'
                      minSpendPoint: ''
                      title: Reward by discount percentage
                      type: spending
                      priority: 0
                      orderReqAmount: 0
                      appliedCollectionIds: []
                      createdAt:
                        _seconds: 1689307643
                        _nanoseconds: 239000000
                      specificProductIds:
                        - 44943123054869
                        - 44943123022101
                        - 44943122989333
                        - 44943122956565
                        - 44943122923797
                        - 44943122891029
                        - 44943122858261
                        - 44943122825493
                        - 44943122759957
                        - 44943122792725
                      expiredAfter: permanent
                      redeemType: fixed
                      appliedTo: sf_product
                      id: CH9VzKQpnsgZQSHkpjLy
                      shopId: nDaevBKY0zGCzmJz8mCv
                      event: percentage_discount
                      status: true
                      specificProducts:
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                          images:
                            - updated_at: '2023-06-02T03:42:21-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              product_id: 8280110530837
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:21-04:00'
                              variant_ids: []
                              id: 41335878975765
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110530837
                              values:
                                - Default Title
                              name: Title
                              id: 10505818964245
                              position: 1
                          handle: white-ceramic-pot
                          id: 8280110530837
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                              price: '16'
                              option3: null
                              option1: Default Title
                              id: 44943123054869
                              option2: null
                              title: Default Title
                          title: White Ceramic Pot
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                          images:
                            - updated_at: '2023-06-02T03:42:19-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              product_id: 8280110498069
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:19-04:00'
                              variant_ids: []
                              id: 41335878844693
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110498069
                              values:
                                - Default Title
                              name: Title
                              id: 10505818931477
                              position: 1
                          handle: brown-throw-pillows
                          id: 8280110498069
                          variants:
                            - inventory_quantity: 5
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                              price: '20'
                              option3: null
                              option1: Default Title
                              id: 44943123022101
                              option2: null
                              title: Default Title
                          title: Brown Throw Pillows
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                          images:
                            - updated_at: '2023-06-02T03:42:18-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              product_id: 8280110465301
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:18-04:00'
                              variant_ids: []
                              id: 41335878680853
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110465301
                              values:
                                - Default Title
                              name: Title
                              id: 10505818898709
                              position: 1
                          handle: wooden-outdoor-table
                          id: 8280110465301
                          variants:
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                              price: '100'
                              option3: null
                              option1: Default Title
                              id: 44943122989333
                              option2: null
                              title: Default Title
                          title: Wooden Outdoor Table
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                          images:
                            - updated_at: '2023-06-02T03:42:16-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              product_id: 8280110432533
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:16-04:00'
                              variant_ids: []
                              id: 41335878582549
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110432533
                              values:
                                - Default Title
                              name: Title
                              id: 10505818865941
                              position: 1
                          handle: pink-armchair
                          id: 8280110432533
                          variants:
                            - inventory_quantity: 0
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                              price: '750'
                              option3: null
                              option1: Default Title
                              id: 44943122956565
                              option2: null
                              title: Default Title
                          title: Pink Armchair
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                          images:
                            - updated_at: '2023-06-02T03:42:15-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              product_id: 8280110399765
                              admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:15-04:00'
                              variant_ids: []
                              id: 41335878484245
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110399765
                              values:
                                - Default Title
                              name: Title
                              id: 10505818833173
                              position: 1
                          handle: white-bed-clothes
                          id: 8280110399765
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                              price: '30'
                              option3: null
                              option1: Default Title
                              id: 44943122923797
                              option2: null
                              title: Default Title
                          title: White Bed Clothes
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                          images:
                            - updated_at: '2023-06-02T03:42:13-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              product_id: 8280110366997
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:13-04:00'
                              variant_ids: []
                              id: 41335877697813
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110366997
                              values:
                                - Default Title
                              name: Title
                              id: 10505818800405
                              position: 1
                          handle: antique-drawers
                          id: 8280110366997
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                              price: '250'
                              option3: null
                              option1: Default Title
                              id: 44943122891029
                              option2: null
                              title: Default Title
                          title: Antique Drawers
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                          images:
                            - updated_at: '2023-06-02T03:42:11-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              product_id: 8280110334229
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:11-04:00'
                              variant_ids: []
                              id: 41335877665045
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110334229
                              values:
                                - Default Title
                              name: Title
                              id: 10505818767637
                              position: 1
                          handle: cream-sofa
                          id: 8280110334229
                          variants:
                            - inventory_quantity: 4
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                              price: '500'
                              option3: null
                              option1: Default Title
                              id: 44943122858261
                              option2: null
                              title: Default Title
                          title: Cream Sofa
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                          images:
                            - updated_at: '2023-06-02T03:42:10-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              product_id: 8280110301461
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:10-04:00'
                              variant_ids: []
                              id: 41335877599509
                              position: 1
                              height: 617
                          options:
                            - product_id: 8280110301461
                              values:
                                - Default Title
                              name: Title
                              id: 10505818734869
                              position: 1
                          handle: copper-light
                          id: 8280110301461
                          variants:
                            - inventory_quantity: 2
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                              price: '60'
                              option3: null
                              option1: Default Title
                              id: 44943122825493
                              option2: null
                              title: Default Title
                          title: Copper Light
                        - image:
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                          images:
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877239061
                              position: 1
                              height: 617
                            - updated_at: '2023-06-02T03:42:08-04:00'
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              product_id: 8280110268693
                              admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                              alt: null
                              width: 925
                              created_at: '2023-06-02T03:42:08-04:00'
                              variant_ids: []
                              id: 41335877304597
                              position: 2
                              height: 617
                          options:
                            - product_id: 8280110268693
                              values:
                                - Regular
                                - Large
                              name: Size
                              id: 10505818702101
                              position: 1
                          handle: clay-plant-pot
                          id: 8280110268693
                          variants:
                            - inventory_quantity: 1
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                              price: '10'
                              option3: null
                              option1: Regular
                              id: 44943122759957
                              option2: null
                              title: Regular
                            - inventory_quantity: 3
                              src: >-
                                https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                              price: '16'
                              option3: null
                              option1: Large
                              id: 44943122792725
                              option2: null
                              title: Large
                          title: Clay Plant Pot
                      updatedAt:
                        _seconds: 1689823321
                        _nanoseconds: 832000000
                    priceRuleId: 1388202230037
                    programTitle: Reward by discount percentage
                    orderReqAmount: null
                    appliedCollectionIds: []
                    expiredAt: null
                    programDescription: Discount 10% for 1,000 points
                    limitShipping: null
                    customerId: 2GEU2AwtJ84twLyrnjCp
                    shopId: nDaevBKY0zGCzmJz8mCv
                    discountId: 19358935941397
                    couponCode: JOY-AW5WP41GJVDR
                    email: customer@example.com
                    programId: CH9VzKQpnsgZQSHkpjLy
                    createdAt: '2023-07-26T05:00:54.602Z'
                    updatedAt: '2023-07-26T05:00:54.602Z'
                count: 10
                pageInfo:
                  hasPre: false
                  hasNext: true
  /rest_api/v1/rewards/{customerRewardId}:
    get:
      tags:
        - Rewards
      summary: Get a reward details
      parameters:
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: customerRewardId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '11691'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqhnv8tmci
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 9dab91e8493025b841869250b8d04882;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 07:54:53 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1690530893.923730,VS0,VE629
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              example:
                data:
                  id: 1FPTxHh55tHAtSlVlfG1
                  redeemPoint: 1000
                  program:
                    spendPoint: 1000
                    orderReq: none
                    freeProductIds: []
                    prefix: JOY-
                    maxSpendPoint: ''
                    earnAmount: '10'
                    minSpendPoint: ''
                    title: Reward by discount percentage
                    type: spending
                    priority: 0
                    orderReqAmount: 0
                    appliedCollectionIds: []
                    createdAt:
                      _seconds: 1689307643
                      _nanoseconds: 239000000
                    specificProductIds:
                      - 44943123054869
                      - 44943123022101
                      - 44943122989333
                      - 44943122956565
                      - 44943122923797
                      - 44943122891029
                      - 44943122858261
                      - 44943122825493
                      - 44943122759957
                      - 44943122792725
                    expiredAfter: permanent
                    redeemType: fixed
                    appliedTo: sf_product
                    id: CH9VzKQpnsgZQSHkpjLy
                    shopId: nDaevBKY0zGCzmJz8mCv
                    event: percentage_discount
                    status: true
                    specificProducts:
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                        images:
                          - updated_at: '2023-06-02T03:42:21-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                            product_id: 8280110530837
                            admin_graphql_api_id: gid://shopify/ProductImage/41335878975765
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:21-04:00'
                            variant_ids: []
                            id: 41335878975765
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110530837
                            values:
                              - Default Title
                            name: Title
                            id: 10505818964245
                            position: 1
                        handle: white-ceramic-pot
                        id: 8280110530837
                        variants:
                          - inventory_quantity: 1
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/house-plant-in-white-pot_925x_9bc20c17-b08b-4760-9bef-3186f123617e.jpg?v=1685691741
                            price: '16'
                            option3: null
                            option1: Default Title
                            id: 44943123054869
                            option2: null
                            title: Default Title
                        title: White Ceramic Pot
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                        images:
                          - updated_at: '2023-06-02T03:42:19-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                            product_id: 8280110498069
                            admin_graphql_api_id: gid://shopify/ProductImage/41335878844693
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:19-04:00'
                            variant_ids: []
                            id: 41335878844693
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110498069
                            values:
                              - Default Title
                            name: Title
                            id: 10505818931477
                            position: 1
                        handle: brown-throw-pillows
                        id: 8280110498069
                        variants:
                          - inventory_quantity: 5
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bedroom-bed-with-brown-throw-pillows_925x_38bf48fb-0377-43b5-af8d-91e9a42c428f.jpg?v=1685691739
                            price: '20'
                            option3: null
                            option1: Default Title
                            id: 44943123022101
                            option2: null
                            title: Default Title
                        title: Brown Throw Pillows
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                        images:
                          - updated_at: '2023-06-02T03:42:18-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                            product_id: 8280110465301
                            admin_graphql_api_id: gid://shopify/ProductImage/41335878680853
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:18-04:00'
                            variant_ids: []
                            id: 41335878680853
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110465301
                            values:
                              - Default Title
                            name: Title
                            id: 10505818898709
                            position: 1
                        handle: wooden-outdoor-table
                        id: 8280110465301
                        variants:
                          - inventory_quantity: 3
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/cafe-patio_925x_5ff58e86-03c9-4665-a3dc-c16835705d17.jpg?v=1685691738
                            price: '100'
                            option3: null
                            option1: Default Title
                            id: 44943122989333
                            option2: null
                            title: Default Title
                        title: Wooden Outdoor Table
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                        images:
                          - updated_at: '2023-06-02T03:42:16-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                            product_id: 8280110432533
                            admin_graphql_api_id: gid://shopify/ProductImage/41335878582549
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:16-04:00'
                            variant_ids: []
                            id: 41335878582549
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110432533
                            values:
                              - Default Title
                            name: Title
                            id: 10505818865941
                            position: 1
                        handle: pink-armchair
                        id: 8280110432533
                        variants:
                          - inventory_quantity: 0
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/soft-pink-cushioned-armchair-in-stately-salon_925x_87fd8f70-0f3b-4aec-99ca-9427957912a4.jpg?v=1685691736
                            price: '750'
                            option3: null
                            option1: Default Title
                            id: 44943122956565
                            option2: null
                            title: Default Title
                        title: Pink Armchair
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                        images:
                          - updated_at: '2023-06-02T03:42:15-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                            product_id: 8280110399765
                            admin_graphql_api_id: gid://shopify/ProductImage/41335878484245
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:15-04:00'
                            variant_ids: []
                            id: 41335878484245
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110399765
                            values:
                              - Default Title
                            name: Title
                            id: 10505818833173
                            position: 1
                        handle: white-bed-clothes
                        id: 8280110399765
                        variants:
                          - inventory_quantity: 1
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/bright-hotel-room-bed_925x_ad2e83db-7004-428c-aae7-5e4b8149d588.jpg?v=1685691735
                            price: '30'
                            option3: null
                            option1: Default Title
                            id: 44943122923797
                            option2: null
                            title: Default Title
                        title: White Bed Clothes
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                        images:
                          - updated_at: '2023-06-02T03:42:13-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                            product_id: 8280110366997
                            admin_graphql_api_id: gid://shopify/ProductImage/41335877697813
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:13-04:00'
                            variant_ids: []
                            id: 41335877697813
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110366997
                            values:
                              - Default Title
                            name: Title
                            id: 10505818800405
                            position: 1
                        handle: antique-drawers
                        id: 8280110366997
                        variants:
                          - inventory_quantity: 2
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/babys-room_925x_b3e2cdd7-4059-48f1-8e1c-57ba486b7c1e.jpg?v=1685691733
                            price: '250'
                            option3: null
                            option1: Default Title
                            id: 44943122891029
                            option2: null
                            title: Default Title
                        title: Antique Drawers
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                        images:
                          - updated_at: '2023-06-02T03:42:11-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                            product_id: 8280110334229
                            admin_graphql_api_id: gid://shopify/ProductImage/41335877665045
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:11-04:00'
                            variant_ids: []
                            id: 41335877665045
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110334229
                            values:
                              - Default Title
                            name: Title
                            id: 10505818767637
                            position: 1
                        handle: cream-sofa
                        id: 8280110334229
                        variants:
                          - inventory_quantity: 4
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/condominium-interior-livingroom_925x_902d4d3e-6918-4bb3-9bbc-e83464f111b4.jpg?v=1685691731
                            price: '500'
                            option3: null
                            option1: Default Title
                            id: 44943122858261
                            option2: null
                            title: Default Title
                        title: Cream Sofa
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                        images:
                          - updated_at: '2023-06-02T03:42:10-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                            product_id: 8280110301461
                            admin_graphql_api_id: gid://shopify/ProductImage/41335877599509
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:10-04:00'
                            variant_ids: []
                            id: 41335877599509
                            position: 1
                            height: 617
                        options:
                          - product_id: 8280110301461
                            values:
                              - Default Title
                            name: Title
                            id: 10505818734869
                            position: 1
                        handle: copper-light
                        id: 8280110301461
                        variants:
                          - inventory_quantity: 2
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/copper-light-in-bedroom_925x_7551819c-6501-4297-a3f7-874be9adf0ea.jpg?v=1685691730
                            price: '60'
                            option3: null
                            option1: Default Title
                            id: 44943122825493
                            option2: null
                            title: Default Title
                        title: Copper Light
                      - image:
                          src: >-
                            https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                        images:
                          - updated_at: '2023-06-02T03:42:08-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                            product_id: 8280110268693
                            admin_graphql_api_id: gid://shopify/ProductImage/41335877239061
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:08-04:00'
                            variant_ids: []
                            id: 41335877239061
                            position: 1
                            height: 617
                          - updated_at: '2023-06-02T03:42:08-04:00'
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                            product_id: 8280110268693
                            admin_graphql_api_id: gid://shopify/ProductImage/41335877304597
                            alt: null
                            width: 925
                            created_at: '2023-06-02T03:42:08-04:00'
                            variant_ids: []
                            id: 41335877304597
                            position: 2
                            height: 617
                        options:
                          - product_id: 8280110268693
                            values:
                              - Regular
                              - Large
                            name: Size
                            id: 10505818702101
                            position: 1
                        handle: clay-plant-pot
                        id: 8280110268693
                        variants:
                          - inventory_quantity: 1
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/single-sprout-in-a-pot_925x_7fcb5914-ce53-42c6-ae39-a565e41b74fe.jpg?v=1685691728
                            price: '10'
                            option3: null
                            option1: Regular
                            id: 44943122759957
                            option2: null
                            title: Regular
                          - inventory_quantity: 3
                            src: >-
                              https://cdn.shopify.com/s/files/1/0751/2942/2101/products/pot-with-a-single-sprout_925x_b8eff9a4-600e-470b-ba62-1a07918f4f30.jpg?v=1685691728
                            price: '16'
                            option3: null
                            option1: Large
                            id: 44943122792725
                            option2: null
                            title: Large
                        title: Clay Plant Pot
                    updatedAt:
                      _seconds: 1689823321
                      _nanoseconds: 832000000
                  priceRuleId: 1388199411989
                  programTitle: Reward by discount percentage
                  orderReqAmount: null
                  appliedCollectionIds: []
                  expiredAt: null
                  programDescription: Discount 10% for 1,000 points
                  limitShipping: null
                  customerId: 2GEU2AwtJ84twLyrnjCp
                  shopId: nDaevBKY0zGCzmJz8mCv
                  discountId: 19358907171093
                  couponCode: JOY-GXUADMQ6DVK0
                  email: customer@example.com
                  programId: CH9VzKQpnsgZQSHkpjLy
                  createdAt: '2023-07-26T04:08:40.447Z'
                  updatedAt: '2023-07-26T04:08:40.447Z'
                success: true
  /coupons/refund:
    post:
      tags:
        - Coupons
      summary: Refund coupon via Rest API
      description: Allows you to refund a coupon for a specific Shopify customer via Rest API.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                couponCode:
                  type: string
                  example: "ABC123"
                shopifyCustomerId:
                  type: integer
                  example: 7278822981918
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '54'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                example:
                  success: true
  /rest_api/v1/customers:
    get:
      tags:
        - Customers
      summary: List customers
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret Key of your shop which retrieved from the Settings page
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '526'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqytj5nwrx
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 5c064a4def6da29db533b03474710de4;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 08:02:52 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1690531372.096191,VS0,VE734
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        shopifyCustomerId:
                          type: number
                        email:
                          type: string
                        point :
                          type: number
                        createdAt :
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                        totalSpent:
                          type: number
                        orderCount:
                          type: number
                        acceptsMarketing:
                          type: boolean
                        name:
                          type: string
                        state:
                          type: string
                          enum:
                            - enabled
                            - disabled
                        tierId:
                          type: string
                        tierPoint:
                          type: number
                        phone:
                          type: number
                        pointsRemain:
                          type: number
                  pageInfo:
                    type: object
                    properties:
                      hasPre:
                        type: boolean
                      hasNext:
                        type: boolean
                  count:
                    type: number
                example:
                  data:
                  - id: o9AQeUCXYDjbeFm7vAKy
                    shopifyCustomerId: 7603687882987
                    email: example@avadagroup.com
                    point: 999600
                    createdAt: '2024-08-26T10:28:33.862Z'
                    updatedAt: '2024-09-26T07:53:28.014Z'
                    totalSpent: 0
                    orderCount: 0
                    acceptsMarketing: false
                    name: anh anh
                    state: enabled
                    tierId: dvlOpwxsdATG5RYgr0gz
                    tierPoint: 0
                    type: member
                    shopId: umN0f3GKyQC3XS1AwVWg
                    hasPoint: true
                    urlReferral: "https://inviteee.to/i/g5ND"
                    latestActivity: '2024-08-27T08:24:07.578Z'
                    phone: null
                    hasTier: false
                    pointsRemain: 500
                  pageInfo:
                    hasPre: false
                    hasNext: false
                  count: 1
  /rest_api/v1/customers/{customerId}:
    get:
      tags:
        - Customers
      summary: Get a customer
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          description: App ID of your shop which retrieved from the Settings page
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          description: Secret of your shop which retrieved from /settings/managingKey
          example: '{{secretKey}}'
        - name: customerId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '470'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvq6tyst1dl
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 974b32c73369c179bc0c3d85f200a2e0;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 08:03:47 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690531427.201922,VS0,VE715
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      shopifyCustomerId:
                        type: number
                      email:
                        type: string
                      point:
                        type: number
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      totalSpent:
                        type: number
                      orderCount:
                        type: number
                      acceptsMarketing:
                        type: boolean
                      name:
                        type: string
                      state:
                        type: string
                        enum:
                        - enabled
                        - disabled
                      tierId:
                        type: string
                      tierPoint:
                        type: number
                      phone:
                        type: number
                      pointsRemain:
                        type: number
                example:
                  data:
                    id: o9AQeUCXYDjbeFm7vAKy
                    shopifyCustomerId: 7603687882987
                    totalSpent: 0
                    orderCount: 0
                    name: "anh anh"
                    state: "enabled"
                    shopId: "umN0f3GKyQC3XS1AwVWg"
                    type: "member"
                    acceptsMarketing: false
                    email: "example@avadagroup.com"
                    createdAt: "2024-08-26T10:28:33.862Z"
                    hasPoint: true
                    urlReferral: "https://inviteee.to/i/g5ND"
                    latestActivity: "2024-08-27T08:24:07.578Z"
                    point: 999600
                    updatedAt: "2024-09-26T07:53:28.014Z"
                    phone: null
                    tierId: "dvlOpwxsdATG5RYgr0gz"
                    hasTier: false
                    tierPoint: 0
                    tierName: "Silver"
                    pointsRemain: 500
  /customers/shopify-id/{id}:
    get:
      tags:
        - Customers
      summary: Get customer by Shopify ID
      description: |
        Retrieve customer information using Shopify customer ID
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
          description: Shopify customer ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      email:
                        type: string
                      name:
                        type: string
                      type:
                        type: string
                      state:
                        type: string
                      orderCount:
                        type: integer
                      totalSpent:
                        type: number
                      shopifyCustomerId:
                        type: integer
                      acceptsMarketing:
                        type: boolean
                      phone:
                        type: string
                        nullable: true
                      shopId:
                        type: string
                      insertedBigquery:
                        type: boolean
                      earnSignUp:
                        type: boolean
                      hasPoint:
                        type: boolean
                      like_facebook:
                        type: boolean
                      usedMilestoneEarnPoint:
                        type: array
                        items:
                          type: integer
                      latestActivity:
                        type: string
                        format: date-time
                      point:
                        type: integer
                      hasTier:
                        type: boolean
                      tierUpdatedAt:
                        type: string
                        format: date-time
                      tierId:
                        type: string
                      tierPoint:
                        type: integer
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      id:
                        type: string
                      pointsRemain:
                        type: integer
                      tierName:
                        type: string
  /rest_api/v1/tiers:
    get:
      tags:
        - VIPs
      summary: List VIP programs
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: 1164
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvqj9sghj0g
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 8e57221c73dc94601f4998e8ced572c6;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 08:07:40 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: 0
            X-Timer:
              schema:
                type: string
                example: S1690531659.481217,VS0,VE674
            Vary:
              schema:
                type: string
                example: Origin,cookie,need-authorization, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  tiers:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        isSystemTier:
                          type: boolean
                        icon:
                          type: string
                        rateMoney:
                          type: string
                        iconCustom:
                          type: string
                        placedOrderReward:
                          type: boolean
                        earnPoint:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                        targetPoint:
                          type: integer
                        members:
                          type: integer
                        name:
                          type: string
                        systemType:
                          type: string
                          enum:
                            - bronze
                            - silver
                            - gold
                        shopId:
                          type: string
                        updatedAt:
                          type: string
                          format: date-time
                        tierRewards:
                          type: array
              example:
                success: true
                tiers:
                  - id: 3V2MEbloIVUmVhBbEzO1
                    isSystemTier: true
                    icon: https://cdnapps.avada.io/joy/vip-tiers/icons/bronze.png
                    rateMoney: ''
                    iconCustom: ''
                    placedOrderReward: false
                    earnPoint: ''
                    createdAt: '2023-07-14T04:08:05.498Z'
                    targetPoint: 0
                    members: 0
                    name: Bronze
                    systemType: bronze
                    shopId: nDaevBKY0zGCzmJz8mCv
                    updatedAt: '2023-07-14T04:08:05.498Z'
                    tierRewards: [ ]
                  - id: 15VYE9Go7vje7UVtfz3T
                    isSystemTier: true
                    icon: https://cdnapps.avada.io/joy/vip-tiers/icons/silver.png
                    rateMoney: ''
                    iconCustom: ''
                    placedOrderReward: false
                    earnPoint: ''
                    createdAt: '2023-07-14T04:08:05.499Z'
                    targetPoint: 200
                    members: 0
                    name: Silver
                    systemType: silver
                    shopId: nDaevBKY0zGCzmJz8mCv
                    updatedAt: '2023-07-14T04:08:05.499Z'
                    tierRewards: [ ]
                  - id: YYDfREeDKmTmQTnkJTdE
                    isSystemTier: true
                    icon: https://cdnapps.avada.io/joy/vip-tiers/icons/gold.png
                    rateMoney: ''
                    iconCustom: ''
                    placedOrderReward: false
                    earnPoint: ''
                    createdAt: '2023-07-14T04:08:05.499Z'
                    targetPoint: 500
                    members: 0
                    name: Gold
                    systemType: gold
                    shopId: nDaevBKY0zGCzmJz8mCv
                    updatedAt: '2023-07-14T04:08:05.499Z'
                    tierRewards: [ ]
  /rest_api/v1/tiers/{tierId}:
    get:
      tags:
        - VIPs
      summary: Get one VIP tier
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: tierId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '403'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: 7pvq1mkvn7tf
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926; includeSubDomains; preload
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 0489b37800aef1ecd82eebae58e8c7e0;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 08:08:12 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-hkg17928-HKG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: string
                example: S1690531692.895843,VS0,VE657
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  tier:
                    type: object
                    properties:
                      id:
                        type: string
                      isSystemTier:
                        type: boolean
                      icon:
                        type: string
                      rateMoney:
                        type: string
                      iconCustom:
                        type: string
                      placedOrderReward:
                        type: boolean
                      earnPoint:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                      targetPoint:
                        type: integer
                      members:
                        type: integer
                      name:
                        type: string
                      systemType:
                        type: string
                      shopId:
                        type: string
                      updatedAt:
                        type: string
                        format: date-time
                      tierRewards:
                        type: array
                        items:
                          type: object
              example:
                success: true
                tier:
                  id: 3V2MEbloIVUmVhBbEzO1
                  isSystemTier: true
                  icon: https://cdnapps.avada.io/joy/vip-tiers/icons/bronze.png
                  rateMoney: ''
                  iconCustom: ''
                  placedOrderReward: false
                  earnPoint: ''
                  createdAt: '2023-07-14T04:08:05.498Z'
                  targetPoint: 0
                  members: 0
                  name: Bronze
                  systemType: bronze
                  shopId: nDaevBKY0zGCzmJz8mCv
                  updatedAt: '2023-07-14T04:08:05.498Z'
                  tierRewards: [ ]
  /rest_api/v1/tiers/rewards/{type}:
    get:
      tags:
        - VIPs
      summary: Get rewards for a specific tier
      description: Retrieve rewards based on tier type (tier_spending or tier_privileges) and a specific tier ID.
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: type
          in: path
          schema:
            type: string
            enum:
              - tier_spending
              - tier_privileges
          required: true
        - name: tierIdFilter
          in: query
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '500'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Date:
              schema:
                type: string
                example: Fri, 28 Jul 2023 08:08:12 GMT
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            spendPoint:
                              type: integer
                            showLoyaltyPage:
                              type: boolean
                            isTierPrivileges:
                              type: boolean
                            redeemed:
                              type: integer
                            earnAmount:
                              type: string
                            title:
                              type: string
                            type:
                              type: string
                            priority:
                              type: integer
                            createdAt:
                              type: string
                              format: date-time
                            translateTitle:
                              type: object
                              additionalProperties:
                                type: string
                            redeemType:
                              type: string
                            event:
                              type: string
                            status:
                              type: boolean
                            id:
                              type: string
                            expired:
                              type: boolean
                      count:
                        type: integer
                      pageInfo:
                        type: object
                        properties:
                          hasNext:
                            type: boolean
                          hasPre:
                            type: boolean
                example:
                  data:
                    spendPoint: 100
                    showLoyaltyPage: true
                    isTierPrivileges: false
                    redeemed: 23
                    earnAmount: "1"
                    title: "Entry Reward Program"
                    type: "tier_spending"
                    priority: 0
                    createdAt: "2024-08-05T09:11:26.728Z"
                    translateTitle:
                      it: ""
                    redeemType: "fixed"
                    event: "percentage_discount"
                    status: true
                    id: "s7pBj30zXHhUMb6iWQHC"
                    expired: false
                  count: 1
                  pageInfo:
                    hasNext: false
                    hasPre: false
  /rest_api/v1/activities:
    get:
      tags:
        - Point history
      summary: List point activities
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: shopifyCustomerId
          in: query
          schema:
            type: string
          example: '{{shopifyCustomerId}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '729'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: vwaggysrnw5l
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: cf67d33c63d4e3e38fe7155fc1f0cef2;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 03:30:39 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-qpg1278-QPG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695612639.623653,VS0,VE712
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              example:
                data:
                  - id: brCbhPapL9wNwT4YFfVs
                    newPoint: 300
                    userNote: Admin Manual Adjust
                    customerId: JAGmPhhHg3f1yzH5C5KW
                    oldPoint: 100
                    shopId: 0iRAW9SPyJbW7nYpzDEd
                    adminNote: Manual Adjust
                    source: admin
                    type: adjust_point
                    email: demo@email.com
                    content: null
                    event: null
                    programId: null
                    programTitle: null
                    priceRuleId: null
                    discountId: null
                    couponCode: null
                    orderId: null
                    orderNumber: null
                    orderCurrency: null
                    earnBy: null
                    rateMoney: null
                    earnPoint: null
                    spendPoint: null
                    referralCustomerEmail: null
                    referredCustomerEmail: null
                    milestoneOrder: null
                    isPendingPointPlaceOrder: null
                    refundPendingPoint: null
                    pendingPointUntil: null
                    reason: null
                    createdAt: '2023-05-18T02:33:57.215Z'
                    updatedAt: '2023-05-18T02:33:57.215Z'
                  - id: 4CeFCEudPq9AyXua3Qws
                    newPoint: 100
                    userNote: ''
                    customerId: JAGmPhhHg3f1yzH5C5KW
                    oldPoint: 0
                    shopId: 0iRAW9SPyJbW7nYpzDEd
                    adminNote: Manual Adjust
                    source: admin
                    type: adjust_point
                    email: demo@email.com
                    content: null
                    event: null
                    programId: null
                    programTitle: null
                    priceRuleId: null
                    discountId: null
                    couponCode: null
                    orderId: null
                    orderNumber: null
                    orderCurrency: null
                    earnBy: null
                    rateMoney: null
                    earnPoint: null
                    spendPoint: null
                    referralCustomerEmail: null
                    referredCustomerEmail: null
                    milestoneOrder: null
                    isPendingPointPlaceOrder: null
                    refundPendingPoint: null
                    pendingPointUntil: null
                    reason: null
                    createdAt: '2023-05-18T02:33:31.746Z'
                    updatedAt: '2023-05-18T02:33:31.746Z'
                count: 2
                pageInfo:
                  hasPre: false
                  hasNext: false
  /rest_api/v1/referral/getLink:
    post:
      tags:
        - Referral
      summary: Get referral link
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
              required:
                - email
              example:
                email: customer@example.com
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '53'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: vwag6ao48415
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: aecd7a4cb4f021fc7c3b0a6d5dc7d51c;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 03:40:10 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-qpg1278-QPG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695613209.854228,VS0,VE1337
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      urlReferral:
                        type: string
                        description: Link referral of customer
              example:
                data:
                  urlReferral: https://joy-dev.com/i/Ln2M
  /rest_api/v1/referral/{shopifyCustomerId}:
    get:
      tags:
        - Referral
      summary: Get list refer by shopify customer id
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: shopifyCustomerId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '729'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: vwaggysrnw5l
            Server:
              schema:
                type: string
                example: Google Frontend
            Strict-Transport-Security:
              schema:
                type: string
                example: max-age=31556926
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: cf67d33c63d4e3e38fe7155fc1f0cef2;o=1
            X-Country-Code:
              schema:
                type: string
                example: VN
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 03:30:39 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-qpg1278-QPG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695612639.623653,VS0,VE712
            Vary:
              schema:
                type: string
                example: >-
                  Origin,cookie,need-authorization, x-fh-requested-host,
                  accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        referralCustomerEmail:
                          type: string
                          description: Email of the inviting customer
                        statusReferral:
                          type: string
                          enum: [pending_referral, complete_referral, cancel_referral]
                          description: Status of referral
                        customerId:
                          type: string
                          description: The customer id is identified by joy
                        couponCode:
                          type: string
                          description: The coupon code is generated by Joy
                        email:
                          type: string
                          description: The email of invited customer
                        updatedAt:
                          type: string
                          format: date-time
                          description: The date and time when the record was updated
                        createdAt:
                          type: string
                          format: date-time
                          description: The date and time when the record was created
                  count:
                    type: integer
                  pageInfo:
                    type: object
                    properties:
                      hasPre:
                        type: boolean
                      hasNext:
                        type: boolean
              example:
                data:
                  - id: J9JT65z3Ne8vHUo1lItr
                    referralCustomerEmail: demo@email.com
                    email : h*****h@email.com,
                    couponCode: JOY-02Q47LXBY1OJ
                    customerId: EFqXuCw5jszwXCJ5N6b2
                    statusReferral: pending_referral
                    createdAt: 2024-09-22T17:02:26.394Z
                    updatedAt: 2024-09-22T17:02:26.394Z
                  - id: A8JT65z3Ne8cHUo1lItr
                    referralCustomerEmail: demo@email.com
                    email: a*****f@email.com,
                    couponCode: JOY-02Q47LXBY1OJ
                    customerId: EFqXuCw5jszwXCJ5N6b2
                    statusReferral: complete_referral
                    createdAt: 2024-08-22T17:02:26.394Z
                    updatedAt: 2024-08-22T17:02:26.394Z
                  - id: 9OJT65z3Ne8cHUo1lItr
                    referralCustomerEmail: demo@email.com
                    email: b*****e@email.com,
                    couponCode: JOY-02Q47LXBY1OJ
                    customerId: EFqXuCw5jszwXCJ5N6b2
                    statusReferral: cancel_referral
                    createdAt: 2024-07-22T17:02:26.394Z
                    updatedAt: 2024-07-22T17:02:26.394Z
                count: 3
                pageInfo:
                  hasPre: false
                  hasNext: false
  /rest_api/v1/referral/summary/{shopifyCustomerId}:
    get:
      tags:
        - Referral
      summary: Get total redeemed coupons and points earned from referrals
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: shopifyCustomerId
          in: path
          schema:
            type: string
          required: true
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '729'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 03:30:39 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-qpg1278-QPG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      totalRedeemCoupon:
                        type: integer
                        description: Total redeemed coupons by referral
                      totalPointEarnRefer:
                        type: integer
                        description: Total points earned from referrals
                example:
                  data:
                    totalRedeemCoupon: 1
                    totalPointEarnRefer: 2720
  /rest_api/v1/referral/analytics/clicks-usage:
    get:
      tags:
        - Referral
      summary: Get analytics on referral link clicks and coupon code usage
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
        - name: shopifyCustomerId
          in: query
          schema:
            type: string
          description: Shopify customer ID to get specific customer analytics
          example: '1234567890'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '200'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Cache-Control:
              schema:
                type: string
                example: private
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 03:30:39 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-qpg1278-QPG
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      countReferralLinkClicks:
                        type: integer
                        description: Total number of clicks on referral links
                      countCouponCodeUsage:
                        type: integer
                        description: Total number of times coupon codes have been used
                      totalLinkClickers:
                        type: integer
                        description: Total number of link clickers for the specific Shopify customer
                        nullable: true
                example:
                  data:
                    countReferralLinkClicks: 14
                    countCouponCodeUsage: 4
                    totalLinkClickers: 2
  /rest_api/v1/shopify/earn-point:
    post:
      tags:
        - Points
      summary: Earn point via Rest API
      description: >-
        **Earn point via Rest API**


        This api allows you to increase point for a specific shopify customer
        via Rest API
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shopifyCustomerId: 7278822981918
                point: 10000
                adminNote: Note that is only visible in admin side
                userNote: Note that is visible in both admin and customer side
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '54'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: emlbudc5qacy
            Server:
              schema:
                type: string
                example: Google Frontend
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 18ea4cd9ded5680a990dd03d952ccae0;o=1
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 04:16:57 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-iad-kcgs7200093-IAD
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695615417.386363,VS0,VE378
            Vary:
              schema:
                type: string
                example: Origin, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: Success example
                  value:
                    success: true
                    data:
                      id: Pb4yrH4p6N9Io6p5zJ5E
                      type: earn_point
                      event: earn_point_rest_api
                      email: demo@email.com
                      oldPoint: 1500
                      newPoint: 2000
                      customerId: Jf3sCbwddU8AmxnD5bD5
                      shopifyCustomerId: 6179199123509
                      adminNote: Note that is only visible in admin side
                      userNote: Note that is visible in both admin and customer side
                      isWebhookSent: true
                      source: rest_api
                      shopId: 6bSgyVPwoU5MJAohirCE
                      hasWebhook: true
                      content: null
                      programId: null
                      programTitle: null
                      priceRuleId: null
                      discountId: null
                      couponCode: null
                      orderId: null
                      orderNumber: null
                      orderCurrency: null
                      earnBy: null
                      rateMoney: null
                      earnPoint: null
                      spendPoint: null
                      referralCustomerEmail: null
                      referredCustomerEmail: null
                      milestoneOrder: null
                      isPendingPointPlaceOrder: null
                      refundPendingPoint: null
                      pendingPointUntil: null
                      reason: null
                      createdAt: '2023-09-29T05:27:35.432Z'
                      updatedAt: '2023-09-29T05:27:35.432Z'
                example-1:
                  summary: Fail example
                  value:
                    success: false
                    error: Customer not found
  /rest_api/v1/shopify/spend-point:
    post:
      tags:
        - Points
      summary: Spend point via Rest API
      description: >-
        **Spend point via Rest API**


        This api allows you to decrease point for a specific shopify customer
        via Rest API
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shopifyCustomerId: 7278822981918
                point: 10000
                adminNote: Note that is only visible in admin side
                userNote: Note that is visible in both admin and customer side
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '54'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: emlbudc5qacy
            Server:
              schema:
                type: string
                example: Google Frontend
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 18ea4cd9ded5680a990dd03d952ccae0;o=1
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 04:16:57 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-iad-kcgs7200093-IAD
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695615417.386363,VS0,VE378
            Vary:
              schema:
                type: string
                example: Origin, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: Success example
                  value:
                    success: true
                    data:
                      id: Pb4yrH4p6N9Io6p5zJ5E
                      type: redeem_point
                      event: spend_point_rest_api
                      email: demo@email.com
                      oldPoint: 2000
                      newPoint: 1500
                      customerId: Jf3sCbwddU8AmxnD5bD5
                      shopifyCustomerId: 6179199123509
                      adminNote: Note that is only visible in admin side
                      userNote: Note that is visible in both admin and customer side
                      isWebhookSent: true
                      source: rest_api
                      shopId: 6bSgyVPwoU5MJAohirCE
                      hasWebhook: true
                      content: null
                      programId: null
                      programTitle: null
                      priceRuleId: null
                      discountId: null
                      couponCode: null
                      orderId: null
                      orderNumber: null
                      orderCurrency: null
                      earnBy: null
                      rateMoney: null
                      earnPoint: null
                      spendPoint: null
                      referralCustomerEmail: null
                      referredCustomerEmail: null
                      milestoneOrder: null
                      isPendingPointPlaceOrder: null
                      refundPendingPoint: null
                      pendingPointUntil: null
                      reason: null
                      createdAt: '2023-09-29T05:27:35.432Z'
                      updatedAt: '2023-09-29T05:27:35.432Z'
                example-1:
                  summary: Fail example
                  value:
                    success: false
                    error: Customer not found
  /rest_api/v1/shopify/adjust-point:
    post:
      tags:
        - Points
      summary: Adjust point via Rest API
      description: >-
        **Adjust point via Rest API**


        This api allows you to adjust (increase or decrease) point for a
        specific shopify customer via Rest API
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shopifyCustomerId: 7278822981918
                point: 10000
                adminNote: Note that is only visible in admin side
                userNote: Note that is visible in both admin and customer side
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '54'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: emlbudc5qacy
            Server:
              schema:
                type: string
                example: Google Frontend
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 18ea4cd9ded5680a990dd03d952ccae0;o=1
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 04:16:57 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-iad-kcgs7200093-IAD
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695615417.386363,VS0,VE378
            Vary:
              schema:
                type: string
                example: Origin, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: Success example
                  value:
                    success: true
                    data:
                      id: Pb4yrH4p6N9Io6p5zJ5E
                      type: adjust_point
                      event: adjust_point_rest_api
                      email: demo@email.com
                      oldPoint: 2000
                      newPoint: 2500
                      customerId: Jf3sCbwddU8AmxnD5bD5
                      shopifyCustomerId: 6179199123509
                      adminNote: Note that is only visible in admin side
                      userNote: Note that is visible in both admin and customer side
                      isWebhookSent: true
                      source: rest_api
                      shopId: 6bSgyVPwoU5MJAohirCE
                      hasWebhook: true
                      content: null
                      programId: null
                      programTitle: null
                      priceRuleId: null
                      discountId: null
                      couponCode: null
                      orderId: null
                      orderNumber: null
                      orderCurrency: null
                      earnBy: null
                      rateMoney: null
                      earnPoint: null
                      spendPoint: null
                      referralCustomerEmail: null
                      referredCustomerEmail: null
                      milestoneOrder: null
                      isPendingPointPlaceOrder: null
                      refundPendingPoint: null
                      pendingPointUntil: null
                      reason: null
                      createdAt: '2023-09-29T05:27:35.432Z'
                      updatedAt: '2023-09-29T05:27:35.432Z'
                example-1:
                  summary: Fail example
                  value:
                    success: false
                    error: Customer not found
  /rest_api/v1/shopify/reset-point:
    post:
      tags:
        - Points
      summary: Reset point via Rest API
      description: >-
        **Adjust point via Rest API**


        This api allows you to reset point for a specific shopify customer via
        Rest API
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                shopifyCustomerId: 7278822981918
                point: 10000
                adminNote: Note that is only visible in admin side
                userNote: Note that is visible in both admin and customer side
      parameters:
        - name: X-Joy-Loyalty-App-Key
          in: header
          schema:
            type: string
          example: '{{appKey}}'
        - name: X-Joy-Loyalty-Secret-Key
          in: header
          schema:
            type: string
          example: '{{secretKey}}'
      responses:
        '200':
          description: OK
          headers:
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Length:
              schema:
                type: integer
                example: '54'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
            Content-Type:
              schema:
                type: string
                example: application/json; charset=utf-8
            Function-Execution-Id:
              schema:
                type: string
                example: emlbudc5qacy
            Server:
              schema:
                type: string
                example: Google Frontend
            X-Cloud-Trace-Context:
              schema:
                type: string
                example: 18ea4cd9ded5680a990dd03d952ccae0;o=1
            Accept-Ranges:
              schema:
                type: string
                example: bytes
            Date:
              schema:
                type: string
                example: Mon, 25 Sep 2023 04:16:57 GMT
            X-Served-By:
              schema:
                type: string
                example: cache-iad-kcgs7200093-IAD
            X-Cache:
              schema:
                type: string
                example: MISS
            X-Cache-Hits:
              schema:
                type: integer
                example: '0'
            X-Timer:
              schema:
                type: number
                example: S1695615417.386363,VS0,VE378
            Vary:
              schema:
                type: string
                example: Origin, x-fh-requested-host, accept-encoding
            alt-svc:
              schema:
                type: string
                example: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: Success example
                  value:
                    success: true
                    data:
                      id: Pb4yrH4p6N9Io6p5zJ5E
                      type: adjust_point
                      event: adjust_point_rest_api
                      email: demo@email.com
                      oldPoint: 2000
                      newPoint: 2500
                      customerId: Jf3sCbwddU8AmxnD5bD5
                      shopifyCustomerId: 6179199123509
                      adminNote: Note that is only visible in admin side
                      userNote: Note that is visible in both admin and customer side
                      isWebhookSent: true
                      source: rest_api
                      shopId: 6bSgyVPwoU5MJAohirCE
                      hasWebhook: true
                      content: null
                      programId: null
                      programTitle: null
                      priceRuleId: null
                      discountId: null
                      couponCode: null
                      orderId: null
                      orderNumber: null
                      orderCurrency: null
                      earnBy: null
                      rateMoney: null
                      earnPoint: null
                      spendPoint: null
                      referralCustomerEmail: null
                      referredCustomerEmail: null
                      milestoneOrder: null
                      isPendingPointPlaceOrder: null
                      refundPendingPoint: null
                      pendingPointUntil: null
                      reason: null
                      createdAt: '2023-09-29T05:27:35.432Z'
                      updatedAt: '2023-09-29T05:27:35.432Z'
                example-1:
                  summary: Fail example
                  value:
                    success: false
                    error: Customer not found
