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

# Get Product Price

> Retrieves the price of a specific product in a specific currency from a price book



## OpenAPI

````yaml swagger.json get /pricebooks/{priceBookId}/{productId}/{currency}
openapi: 3.0.0
info:
  title: quote•hapily API
  description: Developer APIs for the quote•hapily CPQ platform.
  version: 1.0.0
servers:
  - url: https://api.quote.hapily.com/v1
    description: Production API Server
security: []
paths:
  /pricebooks/{priceBookId}/{productId}/{currency}:
    get:
      summary: Get Product Price
      description: >-
        Retrieves the price of a specific product in a specific currency from a
        price book
      parameters:
        - name: priceBookId
          in: path
          required: true
          schema:
            type: string
        - name: productId
          in: path
          required: true
          schema:
            type: string
        - name: currency
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved product price
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductPrice'
        '401':
          description: Unauthorized
        '404':
          description: Price or product not found
        '500':
          description: Internal Server Error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ProductPrice:
      type: object
      properties:
        productId:
          type: string
        price:
          type: number
          format: float
        currency:
          type: string
        effectiveDate:
          type: string
          format: date-time
      required:
        - productId
        - price
        - currency
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````