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

# Get Product

> Retrieve a product by ID or external identifier



## OpenAPI

````yaml https://api.getmeasure.com/api/v1/docs/api_spec.json get /companies/{company_id}/products/{id}
openapi: 3.1.0
info:
  title: Measure API
  description: APIs to communicate with Measure
  version: 1.0.0
servers:
  - url: https://api.getmeasure.com/api/v1
security: []
paths:
  /companies/{company_id}/products/{id}:
    get:
      tags:
        - Pricing
      summary: Get Product
      description: Retrieve a product by ID or external identifier
      operationId: Get_Product
      parameters:
        - name: company_id
          in: path
          description: 'The company ID with the prefix ''cmp_''. '
          required: true
          schema:
            description: 'The company ID with the prefix ''cmp_''. '
            type: string
        - name: id
          in: path
          description: The resource ID
          required: true
          schema:
            description: The resource ID
            type: string
        - name: Idempotency-Key
          in: header
          description: >-
            The idempotency key that will be used to ensure the request is only
            performed once
          schema:
            description: >-
              The idempotency key that will be used to ensure the request is
              only performed once
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseProductLiteRepresentation'
      deprecated: false
      security:
        - apiKey:
            - ''
components:
  schemas:
    ResponseProductLiteRepresentation:
      properties:
        company_id:
          description: The company ID of the product
          type: string
        created_at:
          description: The date the product was created
          format: date-time
          type: string
        description:
          description: The description of the product
          type: string
        entitlements:
          description: The entitlements that enable features for the product
          items:
            $ref: '#/components/schemas/ResponseEntitlementDataRepresentation'
          type:
            - array
            - 'null'
        external_name:
          description: The external name of the product
          type: string
        gl_code:
          description: The GL code for the product
          type:
            - 'null'
            - string
        id:
          description: The ID of the product in Measure
          type: string
        image_url:
          description: The url for the image of the product
          type:
            - 'null'
            - string
        metadata:
          additionalProperties: true
          description: Any additional data as key-value pairs attached to the product
          type: object
        name:
          description: The name of the product
          type: string
        state:
          description: The state of the product such as ACTIVE or ARCHIVED
          type: string
        tags:
          description: Any tags on the product
          items:
            type: string
          type:
            - array
            - 'null'
        updated_at:
          description: The date the product was last updated
          format: date-time
          type: string
      type: object
    ResponseEntitlementDataRepresentation:
      properties:
        entitlement_id:
          type: string
        id:
          type: string
        inherited_from_id:
          type:
            - 'null'
            - string
        inherited_from_type:
          type:
            - 'null'
            - string
        key:
          type: string
        name:
          type: string
        original_value: {}
        overridden:
          type:
            - 'null'
            - boolean
        type:
          type: string
        value: {}
      type: object
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````