[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fcatalog-offers\u002Ffields":3,"docs-tabs-entities\u002Fcatalog-offers\u002Ffields":6},{"content":4,"lastmod":5},"\n## Offer fields\n\n`GET \u002Fv1\u002Fcatalog-offers\u002Ffields`\n\nReturns the offer field reference with labels, types, write flags and dictionaries of allowed values, plus the fields available for aggregation and the operations available in a batch request.\n\nWith the `iblockId` parameter, the reference also includes the fields of a specific offer catalog — its `propertyNNN` properties.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `iblockId` (query) | number | no | ID of the information block backing the offer catalog: `catalogs[].iblockId` from [`GET \u002Fv1\u002Fcatalogs`](\u002Fdocs\u002Fentities\u002Fcatalogs), not the catalog record's `catalogs[].id`; this catalog has `productIblockId` filled in. With it, the response contains the catalog properties `propertyNNN` and the service fields `negativeAmountTrace`, `priceType`. Without the parameter, with a product catalog's `iblockId`, or with a nonexistent value, the response carries the base set of 44 fields and the `fields_partial` warning in `meta.warnings` |\n\nThe example's `iblockId=27` is the offer catalog's `catalogs[].iblockId` value. If the catalog record has a different `id`, use its `iblockId`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-offers\u002Ffields?iblockId=27\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-offers\u002Ffields?iblockId=27\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-offers\u002Ffields?iblockId=27', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Fields:', Object.keys(data.fields).length)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-offers\u002Ffields?iblockId=27', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\n```\n\n## Response fields\n\n`data.fields` is an object keyed by field name; each value contains the type, the write flags, a display label and — for fields with a fixed set of values — their dictionary. The set of keys is broken down in the table after the field list. `data.aggregatable` lists the fields for `groupBy` in [aggregation](.\u002Faggregate.md); numeric functions accept the fields of type `number`. `data.batch` lists the operations available in a [batch request](\u002Fdocs\u002Fbatch).\n\n| Field | Type | RO | Description |\n|------|-----|:--:|---------|\n| `id` | number | yes | Offer identifier |\n| `name` | string | no | Offer name. Required on create |\n| `active` | boolean | no | Whether the offer is active |\n| `iblockId` | number | no¹ | Offer catalog ID. List: [`GET \u002Fv1\u002Fcatalogs`](\u002Fdocs\u002Fentities\u002Fcatalogs). Required on create, set on create only |\n| `parentId` | object \\| null | no² | Link to the parent product: `value` — the parent product ID as a string, `valueId` — the service ID of the link value, read-only. On create, pass `{ \"value\": \"\u003CID>\" }`. `null` — a free offer. Parent product IDs: [`GET \u002Fv1\u002Fcatalog-skus`](\u002Fdocs\u002Fentities\u002Fcatalog-skus\u002Flist) |\n| `type` | number | yes | Record type, computed by Bitrix24: `4` — the offer is linked to a parent product, `5` — a free offer. The filter accepts one exact value |\n| `iblockSectionId` | number \\| null | no | Catalog section ID. `null` — the offer is not linked to a section. List: [`GET \u002Fv1\u002Fcatalog-sections`](\u002Fdocs\u002Fentities\u002Fcatalog-sections) |\n| `purchasingPrice` | number \\| null | no | Purchase price. `null` if not set |\n| `purchasingCurrency` | string \\| null | no | Purchase price currency, for example `USD`. `null` if the purchase price is not set. List: [`GET \u002Fv1\u002Fcurrencies`](\u002Fdocs\u002Fentities\u002Fcurrencies) |\n| `quantity` | number \\| null | no | Stock balance. `null` if not set |\n| `weight` | number \\| null | no | Weight of a product unit. `null` if not specified |\n| `measure` | number | no | Unit of measure ID. List: [`GET \u002Fv1\u002Fcatalog-measures`](\u002Fdocs\u002Fentities\u002Fcatalog-measures) |\n| `available` | boolean | yes | Whether the offer is available for purchase. Computed by Bitrix24 |\n| `vatIncluded` | boolean | no | VAT included in the price |\n| `bundle` | boolean | yes | Whether the offer is a bundle. Computed by Bitrix24 |\n| `canBuyZero` | boolean | no | Allow purchase when stock is zero |\n| `quantityTrace` | boolean | no | Quantity tracking enabled |\n| `subscribe` | boolean | no | Allow subscription to the product |\n| `barcodeMulti` | boolean | no | Allow separate barcodes for product units |\n| `withoutOrder` | boolean | no | Available for ordering without stock on hand |\n| `dateActiveFrom` | datetime | no | Activity start date. Not accepted in a filter |\n| `dateActiveTo` | datetime | no | Activity end date. Not accepted in a filter |\n| `createdBy` | number | yes | ID of the user who created the offer. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers) |\n| `modifiedBy` | number | yes | ID of the user who last modified the offer. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers) |\n| `dateCreate` | datetime | yes | Creation date. Not accepted in a filter |\n| `timestampX` | datetime | yes | Last modification date. Not accepted in a filter |\n| `code` | string \\| null | no | Symbolic code. `null` if not set |\n| `xmlId` | string | no | External identifier |\n| `sort` | number | no | Sort order |\n| `vatId` | number | no | VAT rate ID. List: [`GET \u002Fv1\u002Fcatalog-vat-rates`](\u002Fdocs\u002Fentities\u002Fcatalog-vat-rates) |\n| `previewText` | string | no | Preview text |\n| `detailText` | string | no | Detailed description |\n| `previewTextType` | string | no | Preview text format: `text` or `html` |\n| `detailTextType` | string | no | Detailed description format: `text` or `html` |\n| `previewPicture` | object | no | Preview image |\n| `detailPicture` | object | no | Detail image |\n| `iblockSection` | object | no | Array of catalog section IDs to write on create and update. The primary section is read from `iblockSectionId`. List: [`GET \u002Fv1\u002Fcatalog-sections`](\u002Fdocs\u002Fentities\u002Fcatalog-sections) |\n| `width` | number | no | Width |\n| `height` | number | no | Height |\n| `length` | number | no | Length |\n| `quantityReserved` | number \\| null | no | Reserved quantity. `null` if nothing is reserved |\n| `recurSchemeLength` | number | no | Payment period length. Available only in on-premise Bitrix24 for content sales |\n| `recurSchemeType` | string | no | Payment period time unit: `H` — hour, `D` — day, `W` — week, `M` — month, `Q` — quarter, `S` — half-year, `Y` — year. Available only in on-premise Bitrix24 for content sales |\n| `trialPriceId` | number | no | ID of the product used for a trial payment. Available only in on-premise Bitrix24 for content sales |\n| `negativeAmountTrace` | char | yes | Catalog service field. Returned only with `iblockId` |\n| `priceType` | char | no | Catalog service field. Returned only with `iblockId` |\n| `propertyNNN` | productproperty | no | Catalog property, where `NNN` is the property `id` from [`GET \u002Fv1\u002Fcatalog-product-properties`](\u002Fdocs\u002Fentities\u002Fcatalog-product-properties). Returned only with `iblockId`; multiple-value properties come with `multiple: true` |\n\n¹ `iblockId` is writable on create only — in the reference it comes back with `readonly: false` and `createOnly: true`.\n\n² `parentId` is writable on create only — in the reference it comes back with `readonly: false` and `readonlyOnUpdate: true`.\n\nRequest headers do not switch the language of labels and descriptions. A field with a fixed set of values — `previewTextType` and `detailTextType` — also carries an `enum` array: every element holds a `value` to pass in the request and a `label` for display.\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.fields.\u003Cname>.type` | string | Field type: `number`, `string`, `boolean`, `datetime`, `object`. Catalog fields use `char` and `productproperty` |\n| `data.fields.\u003Cname>.label` | string | Short field label. For catalog fields the label matches the field name |\n| `data.fields.\u003Cname>.description` | string | Extended field description: what it is for, where to get the list of allowed values, write-time behavior. The key is present on fields that have something to add to the label |\n| `data.fields.\u003Cname>.readonly` | boolean | `true` — the field is filled by the system and is not accepted on create or update |\n| `data.fields.\u003Cname>.required` | boolean | `true` — the field is required on create. Present on `name` and `iblockId` |\n| `data.fields.\u003Cname>.createOnly` | boolean | `true` — the field is accepted on create only; on `PATCH` it is rejected with `READONLY_FIELD`. Present on `iblockId` |\n| `data.fields.\u003Cname>.readonlyOnUpdate` | boolean | `true` — the field is accepted on create; on `PATCH` it is rejected with `READONLY_FIELD`. Present on `parentId` |\n| `data.fields.\u003Cname>.properties` | object | Nested keys of an object field with their types. On `parentId` — `value` and `valueId`, the latter with `readonly: true` |\n| `data.fields.\u003Cname>.writeOnly` | boolean | `true` — the field is accepted on write and is not returned in responses. Present on `iblockSection` |\n| `data.fields.\u003Cname>.notReturned` | boolean | `true` — the field name is not supported in `select`: a list request with it returns an `UNKNOWN_SELECT_FIELD` warning. Present on `iblockSection` |\n| `data.fields.\u003Cname>.nullable` | boolean | `true` — the field can come back as `null`. The key is present only on such fields |\n| `data.fields.\u003Cname>.multiple` | boolean | `true` — the catalog property accepts several values. The key is present only on such properties |\n| `data.aggregatable` | string[] | Fields for `groupBy` in [aggregation](.\u002Faggregate.md): `purchasingPrice`, `quantity`, `iblockSectionId` |\n| `data.batch` | string[] | Offer operations available in a [batch request](\u002Fdocs\u002Fbatch): `create`, `update`, `delete` |\n| `meta.warnings` | array | Warnings. An element with `code: fields_partial` arrives when the response is built without catalog fields — without `iblockId`, or with an `iblockId` that does not belong to an offer catalog |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"fields\": {\n      \"id\": {\n        \"type\": \"number\",\n        \"readonly\": true,\n        \"label\": \"Product identifier\",\n        \"description\": \"Unique identifier of the catalog product.\"\n      },\n      \"iblockId\": {\n        \"type\": \"number\",\n        \"readonly\": false,\n        \"createOnly\": true,\n        \"required\": true,\n        \"label\": \"Catalog ID\",\n        \"description\": \"Catalog the product belongs to. Available values: GET \u002Fv1\u002Fcatalogs. Set on create only — changing it via PATCH is rejected, a product cannot be moved between catalogs.\"\n      },\n      \"parentId\": {\n        \"type\": \"object\",\n        \"readonly\": false,\n        \"readonlyOnUpdate\": true,\n        \"nullable\": true,\n        \"label\": \"Parent product ID\",\n        \"description\": \"Link to a catalog SKU or product. On create pass {\\\"value\\\":\\\"\u003Cparent id>\\\"}; omit for a free offer. Bitrix24 returns value and valueId. Updates to this field are rejected because Bitrix24 silently ignores them.\",\n        \"properties\": {\n          \"value\": { \"type\": \"string\" },\n          \"valueId\": { \"type\": \"string\", \"readonly\": true }\n        }\n      },\n      \"type\": {\n        \"type\": \"number\",\n        \"readonly\": true,\n        \"label\": \"Bitrix24 product type\",\n        \"description\": \"Computed by Bitrix24. A free offer has a different type from an offer linked to a parent. Filtering accepts only exact type 4 or 5.\"\n      },\n      \"iblockSection\": {\n        \"type\": \"object\",\n        \"readonly\": false,\n        \"writeOnly\": true,\n        \"notReturned\": true,\n        \"label\": \"Catalog sections\",\n        \"description\": \"Array of catalog section IDs the product belongs to. Accepted on create and update only — on read the primary section arrives as the scalar iblockSectionId. Available values: GET \u002Fv1\u002Fcatalog-sections.\"\n      },\n      \"previewTextType\": {\n        \"type\": \"string\",\n        \"readonly\": false,\n        \"label\": \"Preview text format\",\n        \"description\": \"Format of previewText.\",\n        \"enum\": [\n          { \"value\": \"text\", \"label\": \"Plain text\" },\n          { \"value\": \"html\", \"label\": \"HTML\" }\n        ]\n      },\n      \"property909\": {\n        \"type\": \"productproperty\",\n        \"readonly\": false,\n        \"multiple\": true,\n        \"label\": \"property909\"\n      }\n    },\n    \"aggregatable\": [\n      \"purchasingPrice\",\n      \"quantity\",\n      \"iblockSectionId\"\n    ],\n    \"batch\": [\n      \"create\",\n      \"update\",\n      \"delete\"\n    ]\n  }\n}\n```\n\nThe example is trimmed to seven fields — one each for `readonly`, `createOnly` with `required`, `readonlyOnUpdate` with `properties`, the computed `type`, the `writeOnly` + `notReturned` pair, an `enum` dictionary and a multiple-value catalog property. With `iblockId=27`, the test Bitrix24 account returns 55 fields.\n\nWithout `iblockId`, the response contains a warning:\n\n```json\n{\n  \"success\": true,\n  \"data\": { \"fields\": { \u002F* 44 fields *\u002F }, \"aggregatable\": [ \u002F* ... *\u002F ], \"batch\": [ \u002F* ... *\u002F ] },\n  \"meta\": {\n    \"warnings\": [\n      {\n        \"code\": \"fields_partial\",\n        \"message\": \"Dynamic field metadata from Bitrix24 was unavailable; the response carries static schema fields only and some labels may be missing. Retry to obtain the complete set.\"\n      }\n    ]\n  }\n}\n```\n\n## Error response example\n\n401 — the key was not passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"MISSING_API_KEY\",\n    \"message\": \"API key required. Pass via X-Api-Key header.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 403 | `SCOPE_DENIED` | The API key does not have the `catalog` scope |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header was not passed |\n| 429 | `RATE_LIMITED` | Rate limit exceeded: 300 requests per minute per portal. All API keys of the portal share one limit. The current limit is returned in the `x-ratelimit-limit` header. Retry after the delay in the `Retry-After` header |\n\nFor the full list of common API errors, see [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**A retry does not clear `fields_partial` without `iblockId`.** The warning suggests retrying the request, but without the offer catalog's `iblockId` a retry returns the same base set. The forty-four base fields in this response are complete; only the catalog properties and service fields are missing — a request with `?iblockId=` returns them.\n\n**Some fields are not returned in the list by default.** The symbolic code `code`, the external code `xmlId`, the sort order `sort`, the VAT rate `vatId`, the dimensions `width`, `height`, `length`, the texts, the pictures, `quantityReserved`, `recurSchemeLength`, `recurSchemeType`, `trialPriceId` and the `propertyNNN` properties are not returned in the [`GET \u002Fv1\u002Fcatalog-offers`](.\u002Flist.md) response without an explicit `?select=`. List the names you need in `select` to get them in the list. The single-offer response, [`GET \u002Fv1\u002Fcatalog-offers\u002F:id`](.\u002Fget.md), always returns them.\n\n**Labels call the record a product.** In the reference's `label` and `description`, an offer is called a product — the labels match [Catalog product fields](\u002Fdocs\u002Fentities\u002Fcatalog-products\u002Ffields). The `type` and `parentId` fields exist only on offers.\n\n## See also\n\n- [List offers](\u002Fdocs\u002Fentities\u002Fcatalog-offers\u002Flist)\n- [Create an offer](\u002Fdocs\u002Fentities\u002Fcatalog-offers\u002Fcreate)\n- [Search offers](\u002Fdocs\u002Fentities\u002Fcatalog-offers\u002Fsearch)\n- [Catalog SKUs](\u002Fdocs\u002Fentities\u002Fcatalog-skus)\n- [Catalog product properties](\u002Fdocs\u002Fentities\u002Fcatalog-product-properties)\n- [API reference](\u002Fdocs\u002Fapi-reference)\n","2026-10-23",{},1795415192541]