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

# Get a product

> Returns a single product by public ID.



## OpenAPI

````yaml /openapi.json get /products/{id}
openapi: 3.1.1
info:
  title: Heffl Public API (Legacy v1)
  version: 1.0.0
  description: >-
    Legacy Heffl REST API v1. Maintained for existing integrations. For new
    projects, use API v2 at https://docs.heffl.com/api-v2/introduction.
  contact:
    name: Heffl Support
    url: https://heffl.com/support
    email: support@heffl.com
servers:
  - url: https://api.heffl.com/api/v1
    description: Production API Server
security:
  - ApiKeyAuth: []
paths:
  /products/{id}:
    get:
      tags:
        - Reference Data
      summary: Get a product
      description: Returns a single product by public ID.
      operationId: legacy.products.get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: Product public ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  price:
                    type: number
                  description:
                    anyOf:
                      - type: string
                      - type: 'null'
                  sku:
                    anyOf:
                      - type: string
                      - type: 'null'
                  type:
                    type: string
                  isActive:
                    type: boolean
                required:
                  - id
                  - name
                  - price
                  - type
                  - isActive
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get yours at
        app.heffl.com/settings/developers

````