#Catalog prices
Entity: catalogPrice | Scope: catalog | Base path: /v1/catalog-prices
SPA entity (camelCase field names) — field names pass through without transformation.
#Operations
| Method | Path | Description | Bitrix24 Method |
|---|---|---|---|
GET |
/v1/catalog-prices |
List all (with filter, sort, pagination) | catalog.price.list |
GET |
/v1/catalog-prices/:id |
Get by ID | catalog.price.get |
POST |
/v1/catalog-prices |
Create new | catalog.price.add |
PATCH |
/v1/catalog-prices/:id |
Update by ID | catalog.price.update |
DELETE |
/v1/catalog-prices/:id |
Delete by ID | catalog.price.delete |
#Fields
| API Name | Bitrix24 Name | Type | Readonly | Description |
|---|---|---|---|---|
id |
id |
number | yes | Идентификатор записи |
catalogGroupId |
catalogGroupId |
number | ||
currency |
currency |
string | ||
price |
price |
number | ||
productId |
productId |
number | ||
quantityFrom |
quantityFrom |
number | ||
quantityTo |
quantityTo |
number |
#Examples
#List
curl -X GET '/v1/catalog-prices?limit=10' \
-H 'X-Api-Key: YOUR_KEY'
#Get by ID
curl -X GET '/v1/catalog-prices/123' \
-H 'X-Api-Key: YOUR_KEY'
#Create
curl -X POST '/v1/catalog-prices' \
-H 'X-Api-Key: YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"catalogGroupId":1,"currency":"value","price":1}'
#Update
curl -X PATCH '/v1/catalog-prices/123' \
-H 'X-Api-Key: YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"title":"updated"}'
#Delete
curl -X DELETE '/v1/catalog-prices/123' \
-H 'X-Api-Key: YOUR_KEY'
#Batch
curl -X POST '/v1/batch' \
-H 'X-Api-Key: YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"calls":[{"entity":"catalog-prices","action":"list","params":{"limit":5}}]}'