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

# Obtener un precio resuelto de una lista

> Devuelve el precio unitario base efectivo para la identidad compuesta price_list_id y product_id. El valor no es una cotización por cliente, cantidad, fecha o promoción.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/price-lists/{price_list_id}/prices/{product_id}
openapi: 3.1.0
info:
  title: La Pyme API
  description: >-
    Resources and workflows for purchases, sales, inventory, contacts, products,
    reports, and settings.
  version: 1.0.0
  contact:
    name: La Pyme Support
    email: hola@lapyme.com.ar
  license:
    name: Proprietary
    url: https://lapyme.com.ar/terminos
servers:
  - url: https://api.lapyme.com.ar
    description: Servidor de producción
security:
  - bearerAuth: []
tags:
  - name: API
    description: Public API operations for La Pyme integrations.
paths:
  /api/v1/price-lists/{price_list_id}/prices/{product_id}:
    get:
      tags:
        - API
      summary: Obtener un precio resuelto de una lista
      description: >-
        Devuelve el precio unitario base efectivo para la identidad compuesta
        price_list_id y product_id. El valor no es una cotización por cliente,
        cantidad, fecha o promoción.
      operationId: getApiPriceListPrice
      parameters:
        - name: price_list_id
          in: path
          description: ID de la lista de precios
          required: true
          schema:
            type: string
            format: uuid
        - name: product_id
          in: path
          description: ID de la variante vendible
          required: true
          schema:
            type: string
            format: uuid
        - name: If-None-Match
          in: header
          description: ETag débil de una respuesta equivalente anterior.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Precio efectivo obtenido exitosamente
          headers:
            ETag:
              description: Validador débil de la revisión y del producto solicitado.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiPriceListPriceDetailResponse'
              examples:
                default:
                  summary: Precio derivado de una lista fuente
                  value:
                    request_id: req_price_list_price_1
                    pricing_revision: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                    data:
                      object: price_list_price
                      price_list_id: 550e8400-e29b-41d4-a716-446655440601
                      product_id: 550e8400-e29b-41d4-a716-446655440602
                      status: priced
                      unit_price: 129570
                      currency: ARS
                      tax_inclusive: false
                      tax_rate:
                        id: 5
                        value: 21
                      is_exempt: false
                      calculation:
                        origin: list_policy
                        type: base_adjustment
                        source_price_list_id: 550e8400-e29b-41d4-a716-446655440603
        '304':
          description: La representación no cambió. La respuesta no contiene cuerpo.
          headers:
            ETag:
              description: Validador débil vigente.
              schema:
                type: string
        '400':
          description: Parámetros inválidos
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Parámetros inválidos
                      retryable: false
                      details: []
        '401':
          description: API key faltante o inválida
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: API key faltante o inválida
                      retryable: false
                      details: []
        '403':
          description: Scope price_lists:read insuficiente
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Scope price_lists:read insuficiente
                      retryable: false
                      details: []
        '404':
          description: Lista o producto no encontrado o no visible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Lista o producto no encontrado o no visible
                      retryable: false
                      details: []
        '409':
          description: >-
            PRICE_LIST_CONFIGURATION_INVALID para una configuración inválida o
            PRICE_LIST_PRICES_CHANGED cuando cambia la revisión
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: >-
                        PRICE_LIST_CONFIGURATION_INVALID para una configuración
                        inválida o PRICE_LIST_PRICES_CHANGED cuando cambia la
                        revisión
                      retryable: false
                      details: []
        '429':
          description: Límite de solicitudes excedido para la organización
          headers:
            Retry-After:
              description: Segundos a esperar antes de volver a intentar la solicitud.
              schema:
                type: string
                example: '30'
            X-RateLimit-Limit:
              description: Límite de la ventana activa.
              schema:
                type: string
                example: '5000'
            X-RateLimit-Remaining:
              description: Solicitudes restantes en la ventana activa.
              schema:
                type: string
                example: '0'
            X-RateLimit-Reset:
              description: Segundos restantes hasta el reset de la ventana activa.
              schema:
                type: string
                example: '30'
            RateLimit-Limit:
              description: Límite de la ventana activa en formato estándar.
              schema:
                type: string
                example: '5000'
            RateLimit-Remaining:
              description: Solicitudes restantes en la ventana activa en formato estándar.
              schema:
                type: string
                example: '0'
            RateLimit-Reset:
              description: >-
                Segundos hasta el reset de la ventana activa en formato
                estándar.
              schema:
                type: string
                example: '30'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: RATE_LIMITED
                  value:
                    request_id: req_rate_limit_1
                    error:
                      type: rate_limit_error
                      code: RATE_LIMITED
                      message: >-
                        The organization request limit was reached. Try again
                        later.
                      retryable: true
                      details: []
        '500':
          description: Error interno del servidor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
              examples:
                default:
                  summary: INVALID_REQUEST
                  value:
                    request_id: req_error_1
                    error:
                      type: invalid_request_error
                      code: INVALID_REQUEST
                      message: Error interno del servidor
                      retryable: false
                      details: []
      x-codeSamples:
        - lang: typescript
          label: La Pyme SDK
          source: |
            import { Lapyme } from "lapyme";

            const lapyme = new Lapyme({
              bearerAuth: process.env["LAPYME_API_KEY"] ?? "",
            });

            const price = await lapyme.priceListPrices.get({
              priceListId: "550e8400-e29b-41d4-a716-446655440601",
              productId: "550e8400-e29b-41d4-a716-446655440602",
            });
components:
  schemas:
    ApiPriceListPriceDetailResponse:
      type: object
      properties:
        request_id:
          type: string
        data:
          oneOf:
            - $ref: '#/components/schemas/ApiSharedObjectb990586284'
            - $ref: '#/components/schemas/ApiSharedObjectcc3aec15bc'
        pricing_revision:
          type: string
          pattern: ^[A-Za-z0-9_-]{43}$
      required:
        - request_id
        - data
        - pricing_revision
      additionalProperties: false
    ApiErrorEnvelope:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - authentication_error
                - authorization_error
                - business_error
                - external_dependency_error
                - idempotency_error
                - invalid_request_error
                - rate_limit_error
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  metadata:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties:
                      type:
                        - string
                        - number
                        - boolean
                        - 'null'
                required:
                  - code
                  - message
                additionalProperties: false
          required:
            - type
            - code
            - message
            - retryable
            - details
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
    ApiSharedObjectb990586284:
      type: object
      properties:
        object:
          type: string
          const: price_list_price
        price_list_id:
          type: string
          format: uuid
        product_id:
          type: string
          format: uuid
        currency:
          type: string
          const: ARS
        tax_inclusive:
          type: boolean
        tax_rate:
          $ref: '#/components/schemas/ApiSharedObjecta3133edce3'
        is_exempt:
          type: boolean
        calculation:
          $ref: '#/components/schemas/ApiSharedObjectf2ec33bd59'
        status:
          type: string
          const: priced
        unit_price:
          type: integer
      required:
        - object
        - price_list_id
        - product_id
        - currency
        - tax_inclusive
        - tax_rate
        - is_exempt
        - calculation
        - status
        - unit_price
      additionalProperties: false
    ApiSharedObjectcc3aec15bc:
      type: object
      properties:
        object:
          type: string
          const: price_list_price
        price_list_id:
          type: string
          format: uuid
        product_id:
          type: string
          format: uuid
        currency:
          type: string
          const: ARS
        tax_inclusive:
          type: boolean
        tax_rate:
          $ref: '#/components/schemas/ApiSharedObjecta3133edce3'
        is_exempt:
          type: boolean
        calculation:
          $ref: '#/components/schemas/ApiSharedObjectf2ec33bd59'
        status:
          type: string
          const: unavailable
        unit_price:
          type: 'null'
        unavailable_reason:
          type: string
          const: pricing_input_unavailable
      required:
        - object
        - price_list_id
        - product_id
        - currency
        - tax_inclusive
        - tax_rate
        - is_exempt
        - calculation
        - status
        - unit_price
        - unavailable_reason
      additionalProperties: false
    ApiSharedObjecta3133edce3:
      type: object
      properties:
        id:
          type: integer
        value:
          type: number
      required:
        - id
        - value
      additionalProperties: false
    ApiSharedObjectf2ec33bd59:
      type: object
      properties:
        origin:
          $ref: '#/components/schemas/ApiSharedEnumb3cd05d84a'
        type:
          $ref: '#/components/schemas/ApiSharedEnumb8b65e480e'
        source_price_list_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
      required:
        - origin
        - type
        - source_price_list_id
      additionalProperties: false
    ApiSharedEnumb3cd05d84a:
      type: string
      enum:
        - product_rule
        - list_policy
        - base_fallback
        - composite_fallback
    ApiSharedEnumb8b65e480e:
      type: string
      enum:
        - fixed_price
        - cost_markup
        - base_adjustment
        - base_price
        - component_sum
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Incluí tu API key en el header Authorization con el prefijo Bearer.

````