Special Features

Namespace Support: Many basket operations support namespace parameter to separate baskets for different purposes (e.g., "main", "wishlist", "saved"). The namespace is stored in the user's session.

Automatic Stock Validation: The system automatically removes unavailable products from baskets and returns them in the unavailable_basket_products field.

Offer Application: After each basket modification, the system automatically calculates and applies eligible promotional offers, returning updated pricing and discount information.

Was this helpful?