Introduction

This guide outlines the multi-basket management API endpoints in the system. These endpoints allow you to manage multiple shopping baskets, set main baskets, view detailed discounts, and access basket details by namespace.

The multi-basket API provides functionality for:

1. Multi-Basket Management

  • List all active baskets for a user

  • Set a specific basket as the main basket using ID or namespace

  • Delete baskets

  • View detailed discount information

  • Access basket details by namespace

2. Basket Operations

  • Retrieve basket lists with basic information

  • Switch between different basket namespaces

  • Access detailed basket information with full item details

  • Get mini basket summaries for quick overview

  • Access detailed discount breakdowns for promotional analysis

Each endpoint is designed to support e-commerce operations where users may have multiple baskets (e.g., different stores, saved carts, or namespace-based separation).

NOTE: All methods described in this documentation should be executed using the appropriate HTTP method (GET, POST, DELETE). Authentication is handled via session cookies (osessionid) and CSRF tokens for state-changing operations.

Was this helpful?