[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fbasket-item-properties\u002Flist":3,"docs-tabs-entities\u002Fbasket-item-properties\u002Flist":6},{"content":4,"lastmod":5},"## List basket item properties\n\n`GET \u002Fv1\u002Fbasket-item-properties`\n\nReturns basket item properties with filtering, sorting and automatic pagination. To get the properties of one item, filter by its identifier.\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|----------|-----|-----------|---------|\n| `filter` | object | — | Filter by the fields from [`GET \u002Fv1\u002Fbasket-item-properties\u002Ffields`](\u002Fdocs\u002Fentities\u002Fbasket-item-properties\u002Ffields): `id`, `basketId`, `name`, `value`, `code`, `sort`, `xmlId`.\u003Cbr>[Filtering syntax](\u002Fdocs\u002Ffiltering). Example: `?filter[basketId]=9`. Source of `basketId`: [`GET \u002Fv1\u002Fbasket-items`](\u002Fdocs\u002Fentities\u002Fbasket-items\u002Flist) |\n| `select` | string | — | Comma-separated fields: `?select=id,basketId,value`. An unknown name does not cause an error and is reported in `meta.warnings` with the code `UNKNOWN_SELECT_FIELD` |\n| `sort` | string | — | Sorting in short syntax: `?sort=-id`, a minus means descending |\n| `order` | object | — | Sorting as an object: `?order[id]=desc` |\n| `limit` | number | `50` | Number of records, from 1 to 5000 |\n| `offset` | number | `0` | Number of records to skip |\n| `withTotal` | string | — | Accepted as `true` or `false`, but for basket item properties it changes neither the count nor the presence of `meta.total` |\n\n**Pagination.** With `limit > 50`, Vibecode automatically reads several pages of 50 records and merges them into one response. For the next batch, increase `offset` by the number of records received. Continue while `meta.hasMore` is `true`.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -g \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbasket-item-properties?filter[basketId]=9\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -g \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbasket-item-properties?filter[basketId]=9\" \\\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\u002Fbasket-item-properties?filter[basketId]=9', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data, meta } = await res.json()\nconsole.log(`Item properties: ${meta.total}`)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbasket-item-properties?filter[basketId]=9', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data, meta } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data` | array | Array of basket item properties |\n| `data[].id` | number | Property ID |\n| `data[].basketId` | number | Basket item ID. Source: [`GET \u002Fv1\u002Fbasket-items`](\u002Fdocs\u002Fentities\u002Fbasket-items\u002Flist) |\n| `data[].name` | string | Property name |\n| `data[].value` | string \\| null | Property value |\n| `data[].code` | string \\| null | Property symbolic code |\n| `data[].sort` | number | Sort order of the property within the item |\n| `data[].xmlId` | string \\| null | External ID |\n| `meta.total` | number | Total number of properties matching the filter |\n| `meta.hasMore` | boolean | Whether there are records beyond the current batch |\n| `meta.warnings` | array | Parameter warnings, with the fields `code`, `message`, `field`. Present only when there are warnings |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"basketId\": 9,\n      \"code\": \"CATALOG.XML_ID\",\n      \"id\": 17,\n      \"name\": \"Catalog XML_ID\",\n      \"sort\": 100,\n      \"value\": \"FUTURE-ERP-CATALOG\",\n      \"xmlId\": \"bx_5fc9f8c57ff3e\"\n    },\n    {\n      \"basketId\": 9,\n      \"code\": \"PRODUCT.XML_ID\",\n      \"id\": 19,\n      \"name\": \"Product XML_ID\",\n      \"sort\": 100,\n      \"value\": \"1000000475\",\n      \"xmlId\": \"bx_5fc9f8c57ffb2\"\n    }\n  ],\n  \"meta\": {\n    \"total\": 2,\n    \"hasMore\": false\n  }\n}\n```\n\n## Error response example\n\n400 — filter by an unknown field:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"UNKNOWN_FILTER_FIELD\",\n    \"message\": \"Unknown filter field 'foo' for entity 'basket-item-properties'. Available: id, basketId, name, value, code, sort, xmlId\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `UNKNOWN_FILTER_FIELD` | Filter by a field that is not in the schema. The message lists the available fields |\n| 400 | `INVALID_FILTER_OPERATOR` | Unknown operator in a filter condition. The message lists the supported ones |\n| 400 | `INVALID_FILTER` | `filter` is written neither in brackets nor as a JSON object, one request mixes both forms, or the condition could not be applied |\n| 400 | `UNKNOWN_SORT_FIELD` | Sorting by a field that is not in the schema |\n| 400 | `INVALID_SORT_DIRECTION` | The direction in the sort object is not one of `asc`, `desc`, `ASC`, `DESC` |\n| 403 | `SCOPE_DENIED` | The API key does not have the `sale` scope |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n| 401 | `TOKEN_MISSING` | No Bitrix24 access tokens are configured |\n| 429 | `RATE_LIMITED` | Request limit exceeded. The exact value is in the `x-ratelimit-limit` header. Retry after the time in the `Retry-After` header |\n\nFull list of common API errors — [Error codes](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**Properties of all items in an order.** Properties have no order filter. First get the IDs of the order items: [`GET \u002Fv1\u002Fbasket-items`](\u002Fdocs\u002Fentities\u002Fbasket-items\u002Flist) with the filter `?filter[orderId]=33&select=id`, where `orderId` comes from [`GET \u002Fv1\u002Forders`](\u002Fdocs\u002Fentities\u002Forders\u002Flist). Then pass them as a list: `?filter[basketId][]=9&filter[basketId][]=1005`.\n\n**Nonexistent item.** A filter by the `basketId` of an item that does not exist in the Bitrix24 account returns an empty `data` with `meta.total` equal to `0`, not an error.\n\n## See also\n\n- [Search basket item properties](\u002Fdocs\u002Fentities\u002Fbasket-item-properties\u002Fsearch)\n- [Get a basket item property](\u002Fdocs\u002Fentities\u002Fbasket-item-properties\u002Fget)\n- [Create a basket item property](\u002Fdocs\u002Fentities\u002Fbasket-item-properties\u002Fcreate)\n- [Basket item property fields](\u002Fdocs\u002Fentities\u002Fbasket-item-properties\u002Ffields)\n- [Basket item properties](\u002Fdocs\u002Fentities\u002Fbasket-item-properties)\n- [List basket items](\u002Fdocs\u002Fentities\u002Fbasket-items\u002Flist)\n- [Filtering syntax](\u002Fdocs\u002Ffiltering)\n- [Limits and optimization](\u002Fdocs\u002Foptimization)\n","2026-10-09",{},1795415169398]