Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 2.36 KB

File metadata and controls

41 lines (29 loc) · 2.36 KB

Properties of the Shopping Cart in an Online Store: Overview of Methods

{% note tip "" %}

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

{% endnote %}

The properties of the cart are characteristics of the cart items: size, color, article number, manufacturer.

Quick navigation: all methods

User documentation: Create and Configure Product Properties in CRM

Connection of Cart Properties with Other Objects

Cart. Specify the cart item to which the property is linked. The list of cart items can be obtained using the sale.basketitem.list method.

How to Get Started

  1. Retrieve the cart item ID using sale.basketitem.list.
  2. Create a cart item property using sale.basketproperties.add.
  3. Check the property value using sale.basketproperties.get or retrieve a list of properties using sale.basketproperties.list.
  4. If the data has changed, update the property using sale.basketproperties.update.
  5. Delete an obsolete property using sale.basketproperties.delete.

Overview of Methods {#all-methods}

Scope: sale

Who can execute the methods: depending on the method

#| || Method | Description || || sale.basketproperties.add | Adds a property to the cart item || || sale.basketproperties.update | Updates the fields of the cart item property || || sale.basketproperties.get | Returns the value of the cart item property by its identifier || || sale.basketproperties.list | Returns a list of properties of cart items || || sale.basketproperties.delete | Deletes a property of the cart item || || sale.basketproperties.getFields | Returns a list of fields of the cart item property || |#