For AI agents: markdown of this page — /docs-content-en/entities/catalogs/get.md documentation index — /llms.txt
Get a catalog
GET /v1/catalogs/:id
Returns a single commercial catalog by identifier with all fields.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id (path) |
number | yes | Catalog ID |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/catalogs/25" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/catalogs/25" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/catalogs/25', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Catalog:', data.name, '— iblockId', data.iblockId)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/catalogs/25', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
A catalog object with all fields — see Catalog fields.
Response example
{
"success": true,
"data": {
"id": 25,
"iblockId": 25,
"iblockTypeId": "CRM_PRODUCT_CATALOG",
"lid": "s1",
"name": "CRM product catalog",
"productIblockId": null,
"skuPropertyId": null,
"subscription": "N",
"vatId": 1,
"yandexExport": false
}
}
Error response example
422 — catalog not found:
{
"success": false,
"error": {
"code": "BITRIX_ERROR",
"message": "catalog does not exist."
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 422 | BITRIX_ERROR |
No catalog with this id — the message is "catalog does not exist.". The same response is returned for a non-numeric id |
| 403 | SCOPE_DENIED |
The API key does not have the catalog scope |
| 401 | MISSING_API_KEY |
The X-Api-Key header was not provided |
Full list of common API errors — Errors.
Known specifics
Products catalog or offers catalog. The catalog type is visible from the productIblockId and skuPropertyId fields: in a base products catalog both are null; in an offers catalog they are populated, where productIblockId is the iblockId of the linked products catalog.