[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Forder-properties\u002Flist":3,"docs-tabs-entities\u002Forder-properties\u002Flist":6},{"content":4,"lastmod":5},"## List order properties\n\n`GET \u002Fv1\u002Forder-properties`\n\nRetrieves online store order property definitions with filtering, sorting, and pagination.\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|----------|-----|-----------|---------|\n| `filter` (query) | object | — | Filter by fields from [`GET \u002Fv1\u002Forder-properties\u002Ffields`](\u002Fdocs\u002Fentities\u002Forder-properties\u002Ffields).\u003Cbr>[Filtering syntax](\u002Fdocs\u002Ffiltering). Example: `?filter[id]=125` |\n| `select` (query) | string \\| string[] \\| object | — | Comma-separated fields: `?select=id,name,type`. Array: `?select[]=id&select[]=name`. Object values are used: `?select[id]=id&select[name]=name`. Only selected fields remain in `data`. Unknown names are reported in `meta.warnings` with the code `UNKNOWN_SELECT_FIELD` |\n| `sort` (query) | string \\| object \\| string[] | — | Sort: `?sort=id`, `?sort=-sort,id`, object `?sort[id]=desc`, or array `?sort[]=id&sort[]=-name` |\n| `order` (query) | object | — | Sort using an object: `?order[id]=desc`. If `sort` is also set, it takes precedence |\n| `limit` (query) | number | `50` | Number of records, from 1 to 5000. Values above 5000 are capped at 5000 |\n| `offset` (query) | number | `0` | Number of records to skip |\n| `withTotal` (query) | string | — | Accepts `true` or `false`, but does not change counting or the presence of `meta.total` for order properties |\n\n**Pagination.** When `limit > 50`, Vibecode automatically reads multiple pages of 50 records and combines them into one response. To fetch the next set, 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\u002Forder-properties?filter[id]=125&select=id,name,personTypeId,propsGroupId,type,active&limit=10&sort=id&offset=0&withTotal=true\" \\\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\u002Forder-properties?filter[id]=125&select=id,name,personTypeId,propsGroupId,type,active&limit=10&sort=id&offset=0&withTotal=true\" \\\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\u002Forder-properties?filter[id]=125&select=id,name,personTypeId,propsGroupId,type,active&limit=10&sort=id&offset=0&withTotal=true', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data, meta } = await res.json()\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Forder-properties?filter[id]=125&select=id,name,personTypeId,propsGroupId,type,active&limit=10&sort=id&offset=0&withTotal=true', {\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 order property definitions. All fields: [Order property fields](\u002Fdocs\u002Fentities\u002Forder-properties\u002Ffields) |\n| `meta.total` | number | Total properties matching the filter. Omitted on an empty page when `offset > 0` |\n| `meta.hasMore` | boolean | Whether more records exist beyond the current page |\n| `meta.warnings` | array | Parameter warnings with `code`, `message`, and `field`. Included only when warnings exist |\n| `meta.pageErrorSample` | object | Code and message of an error that interrupted automatic pagination. `data` then contains the records read before the interruption |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 125,\n      \"name\": \"Comment for the courier\",\n      \"personTypeId\": 5,\n      \"propsGroupId\": 9,\n      \"type\": \"STRING\",\n      \"active\": false\n    }\n  ],\n  \"meta\": {\n    \"total\": 1,\n    \"hasMore\": false\n  }\n}\n```\n\n## Error response example\n\n400 — filtering by an unknown field:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"UNKNOWN_FILTER_FIELD\",\n    \"message\": \"Unknown filter field 'unknownField' for entity 'order-properties'. Available: id, personTypeId, type, name, propsGroupId, code, sort, defaultValue, description, settings, xmlId, inputFieldLocation, active, required, multiple, userProps, util, isAddress, isAddressFrom, isAddressTo, isEmail, isFiltered, isLocation, isLocation4tax, isPayer, isPhone, isProfileName, isZip\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `UNKNOWN_FILTER_FIELD` | A filter field is not in the schema. Fields: [`GET \u002Fv1\u002Forder-properties\u002Ffields`](\u002Fdocs\u002Fentities\u002Forder-properties\u002Ffields) |\n| 400 | `INVALID_FILTER_FIELD` | A filter field name starts with the unsupported prefix `@` or `!@` |\n| 400 | `INVALID_FILTER_OPERATOR` | An unknown operator, an empty condition object, or a logical `$or` or `$and` condition |\n| 400 | `INVALID_DUPLICATE_FILTER_FIELD` | Two conditions resolve to the same filter condition. Send one of them |\n| 400 | `INVALID_SORT_FIELD` | Sorting contains the forbidden name `__proto__`, `constructor`, or `prototype` |\n| 400 | `UNKNOWN_SORT_FIELD` | Sorting by an unknown field |\n| 400 | `INVALID_SORT_DIRECTION` | The sort direction specified in an object is not one of `asc`, `desc`, `ASC`, `DESC` |\n| 400 | `INVALID_FILTER` | `filter` is not an object or a JSON string containing an object, or two filter forms are mixed |\n| 422 | `BITRIX_ERROR` | The key's user does not have permission in Bitrix24. The Bitrix24 code is in `error.b24Code`: `200040300010` |\n| 403 | `BITRIX_ACCESS_DENIED` | The portal credentials do not have the `sale` scope (`insufficient_scope`) |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejects the request. The reason is in `error.message` |\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` | The request rate limit was exceeded. The effective limit is in the `x-ratelimit-limit` header. Retry after the interval in the `Retry-After` header |\n\nFull list of common API errors: [Error codes](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Search order properties](\u002Fdocs\u002Fentities\u002Forder-properties\u002Fsearch)\n- [Get an order property](\u002Fdocs\u002Fentities\u002Forder-properties\u002Fget)\n- [Create an order property](\u002Fdocs\u002Fentities\u002Forder-properties\u002Fcreate)\n- [Order property fields](\u002Fdocs\u002Fentities\u002Forder-properties\u002Ffields)\n- [Order properties](\u002Fdocs\u002Fentities\u002Forder-properties)\n- [Filtering syntax](\u002Fdocs\u002Ffiltering)\n- [Limits and optimization](\u002Fdocs\u002Foptimization)\n","2026-10-09",{},1795415263069]