# Product Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/partner/search-config/PC7324536190LULHL:
    get:
      summary: Product Details
      deprecated: false
      description: >-
        Brands are configured in two ways:


        Custom denomination brands:

        A voucher can be generated for any amount within the configured min–max
        range, and the order is placed as a single voucher.


        Fixed denomination brands:

        Vouchers can only be generated for the predefined denominations
        available in the brand configuration.


        For fixed denomination brands:


        If the requested amount exactly matches one of the configured
        denominations, a single voucher is issued.


        If the requested amount does not match any configured denomination, the
        amount is split into multiple vouchers, each matching an available
        denomination.


        Each denomination is issued as a separate voucher, subject to the
        configured maxQuantity limits.


        Example: Mamaearth Brand


        Mamaearth is configured as a fixed denomination brand.


        Supported voucher denominations are:


        ₹500


        ₹1000


        ₹1500


        ₹2000


        Question: Is a ₹2500 voucher supported?


        ❌ A single ₹2500 voucher is not supported, as ₹2500 is not part of the
        configured denominations.


        ✅ The value can be fulfilled using multiple vouchers, for example:


        ₹1500 + ₹1000


        This is subject to each denomination’s maxQuantity constraint.
      tags:
        - 'Rewards & Incentives/APIs - Reward/Redemption '
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  payload:
                    type: object
                    properties:
                      productCatalogId:
                        type: string
                        description: Unique product catalog id
                      brand:
                        type: string
                        description: Brand Name
                      category:
                        type: string
                      images:
                        type: object
                        properties:
                          BRAND_IMAGE:
                            type: string
                          LOGO_IMAGE:
                            type: string
                          LOGO_IMAGE_SMALL:
                            type: string
                        required:
                          - BRAND_IMAGE
                          - LOGO_IMAGE
                          - LOGO_IMAGE_SMALL
                      description:
                        type: string
                      configResponses:
                        type: array
                        items:
                          type: object
                          properties:
                            productConfigId:
                              type: string
                            maxQuantity:
                              type: integer
                            minCustomAmount:
                              type: integer
                            maxCustomAmount:
                              type: integer
                      boltConfigResponses:
                        type: array
                        items:
                          type: object
                          properties:
                            productConfigId:
                              type: string
                            mrp:
                              type: integer
                            sellRate:
                              type: integer
                            enkashDiscount:
                              type: integer
                            maxQuantity:
                              type: integer
                          required:
                            - productConfigId
                            - mrp
                            - sellRate
                            - enkashDiscount
                            - maxQuantity
                      enabled:
                        type: boolean
                      rank:
                        type: integer
                      termsAndCondition:
                        type: string
                      howToRedeem:
                        type: string
                      expiryPeriod:
                        type: integer
                      active:
                        type: boolean
                      enkashImages:
                        type: object
                        properties:
                          BRAND_IMAGE:
                            type: string
                          LOGO_IMAGE:
                            type: string
                          LOGO_IMAGE_SMALL:
                            type: string
                        required:
                          - BRAND_IMAGE
                          - LOGO_IMAGE
                          - LOGO_IMAGE_SMALL
                      autoDenominationAllotmentEnabled:
                        type: boolean
                      customAmountEnabled:
                        type: boolean
                      suggestionDenominations:
                        type: array
                        items:
                          type: string
                      discount:
                        type: integer
                    required:
                      - productCatalogId
                      - brand
                      - category
                      - images
                      - description
                      - configResponses
                      - boltConfigResponses
                      - enabled
                      - rank
                      - termsAndCondition
                      - howToRedeem
                      - expiryPeriod
                      - active
                      - enkashImages
                      - autoDenominationAllotmentEnabled
                      - customAmountEnabled
                      - suggestionDenominations
                      - discount
                  response_code:
                    type: integer
                  response_message:
                    type: string
                required:
                  - payload
                  - response_code
                  - response_message
              example:
                payload:
                  productCatalogId: PC7324536190LULHL
                  brand: Amazon Test
                  aggregator: REWARD_STORE
                  category: E-Commerce
                  images:
                    BRAND_IMAGE: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/3c5bcae2-b09c-473a-0484-ba67cde46a00/public
                    LOGO_IMAGE: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/3c5bcae2-b09c-473a-0484-ba67cde46a00/public
                    LOGO_IMAGE_SMALL: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/3c5bcae2-b09c-473a-0484-ba67cde46a00/public
                  description: This is Sample Test Product
                  configResponses:
                    - productConfigId: PCN6028965437UHasd
                      mrp: 100
                      sellRate: 100
                      enkashDiscount: 0
                      maxQuantity: 5
                      customAmountEnabled: false
                    - productConfigId: PCN046806333NXae2
                      mrp: 250
                      sellRate: 250
                      enkashDiscount: 0
                      maxQuantity: 5
                      customAmountEnabled: false
                    - productConfigId: PCN56765563AS8BHF
                      mrp: 500
                      sellRate: 500
                      enkashDiscount: 0
                      maxQuantity: 5
                      customAmountEnabled: false
                    - productConfigId: PCN2274004771D233
                      mrp: 1000
                      sellRate: 1000
                      enkashDiscount: 0
                      maxQuantity: 5
                      customAmountEnabled: false
                  enabled: true
                  rank: 0
                  termsAndCondition: This is Sample Test Product
                  howToRedeem: This is Sample Test Product
                  expiryPeriod: 365
                  active: true
                  enkashImages:
                    BRAND_IMAGE: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/1ed1458b-5541-4f25-d5a3-67f18db42800/public
                    LOGO_IMAGE: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/1ed1458b-5541-4f25-d5a3-67f18db42800/public
                    LOGO_IMAGE_SMALL: >-
                      https://imagedelivery.net/7zckf4ay8vHyPu-s4kSwMA/1ed1458b-5541-4f25-d5a3-67f18db42800/public
                  discount: 0
                response_code: 0
                response_message: Success
          headers: {}
          x-apidog-name: ''
      security:
        - bearer: []
      x-apidog-folder: 'Rewards & Incentives/APIs - Reward/Redemption '
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-9796927-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
