---
title: "Получить цены на дату"
method: GET
path: "/api/v1/core/prices/at"
tags: ["Core directories"]
---

# Получить цены на дату

`GET /api/v1/core/prices/at`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/core/prices/at`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://erp.akeda.ru/oauth2/authorize`, token URL `https://erp.akeda.ru/oauth2/token`, scopes: `akeda:delegate`)
  - HTTP bearer

Возвращает цены регистра «Цены номенклатуры» на дату: последнюю действующую установку до даты включительно по виду, товару и области.

## Query parameters

- `date` string, date
- `product_ids` string
- `price_type_ids` string

## Headers

- `X-Tenant` string, required

## Response `200`

Цены на дату

- CorePriceAtPage
  - `items` CorePriceAt[], required
    - `price_type_id` string, uuid, required
    - `product_id` string, uuid, required
    - `scope` 'all' | 'contact' | 'contract', required: Область цены: all — общая цена вида, contact — индивидуальная цена контрагента, contract — цена по договору.
    - `scope_ref` string, uuid
    - `price` string, required
    - `valid_from` string, date, required
    - `document_id` string, uuid, required
    - `document_number` string

## Other responses

- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `422`: Запрос разобран, но бизнес-значение недопустимо

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) · [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) · [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/a99574d597cc?raw)
