لوكلاء AI: ملف markdown لهذه الصفحة — /docs-content-en/entities/basket-item-properties.md فهرس التوثيق — /llms.txt
مقالات التوثيق متاحة حاليًا باللغة الإنجليزية فقط.
Basket item properties
Properties of a specific basket item: name, value, symbolic code, and sort order.
Bitrix24 API: sale.basketproperties.*
Scope: sale
Operations
- Create a basket item property —
POST /v1/basket-item-properties - List basket item properties —
GET /v1/basket-item-properties - Get a basket item property —
GET /v1/basket-item-properties/:id - Update a basket item property —
PATCH /v1/basket-item-properties/:id - Delete a basket item property —
DELETE /v1/basket-item-properties/:id - Search basket item properties —
POST /v1/basket-item-properties/search - Basket item property fields —
GET /v1/basket-item-properties/fields - Aggregate basket item properties —
POST /v1/basket-item-properties/aggregate
Key fields
| Field | Type | Description |
|---|---|---|
Fieldid |
Typenumber | DescriptionProperty ID. List: GET /v1/basket-item-properties. Read-only |
FieldbasketId |
Typenumber | DescriptionBasket item ID from GET /v1/basket-items. Required on creation, cannot be changed through PATCH |
Fieldname |
Typestring | DescriptionProperty name. Required on creation |
Fieldvalue |
Typestring | null | DescriptionProperty value. Required on creation |
Fieldcode |
Typestring | null | DescriptionProperty symbolic code. Required on creation |
Fieldsort |
Typenumber | DescriptionSort order of the property within the item |
FieldxmlId |
Typestring | null | DescriptionExternal ID |
For the complete field list, see GET /v1/basket-item-properties/fields.
Before you start
- Reading properties in an item and writing them use separate methods.
GET /v1/basket-items/:idreturns properties in the read-onlypropertiesfield. Use the methods in this section to create, update, and delete properties. - Select an order's properties through its basket items. Get item IDs using
GET /v1/basket-itemswith anorderIdfilter. Source oforderId:GET /v1/orders. Then pass the item IDs in thebasketIdfilter of list or search. - Partial updates preserve omitted fields. If
PATCHomitsname,code, orvalue, Vibecode reads the property and fills in the stored values. For batch updates, pass all three fields explicitly for each property. For the format, see Batch calls. - Creating and deleting a property saves the order. The order that owns the basket item has its
dateUpdateandversionupdated.
Typical workflow
- Select a basket item and get its
id:GET /v1/basket-items. - Check its properties with a
basketIdfilter:GET /v1/basket-item-properties. - Create a property with
basketId,name,value, andcode:POST /v1/basket-item-properties. - Read the property by its returned
id:GET /v1/basket-item-properties/:id. - Update the value:
PATCH /v1/basket-item-properties/:id. - Delete the property when it is no longer needed:
DELETE /v1/basket-item-properties/:id.
Limits
| Limit | Value |
|---|---|
| LimitRecords per list or search request | Valuelimit from 1 to 5000, default 50. Use offset for the following records. See List basket item properties and Search basket item properties |
| LimitAutomatic pagination | ValueWith limit > 50, Vibecode reads Bitrix24 pages of 50 records and merges them into one response. See List |
| LimitBatch calls | ValuePOST /v1/batch and POST /v1/basket-item-properties/batch. Defaults: up to 500 items for writes and up to 50 calls for reads. Platform settings can change these limits. For the format, see Batch calls |
| LimitRequest rate | ValueShared Vibecode API limit — see Limits and optimization |