Skip to main content
CoCart does not use or rely on any WordPress or WooCommerce cookies.
Standard WordPress batch requests are handled via https://your-store.com/wp-json/batch/v1 endpoint.For example adding multiple products to the cart request looks like:
{
    "requests": [
        {
            "method": "POST",
            "path": "/cocart/v2/cart/add-item",
            "body": {
                "id": "35",
                "quantity": "2"
            }
        },
        {
            "method": "POST",
            "path": "/cocart/v2/cart/add-item",
            "body": {
                "id": "36",
                "quantity": "5"
            }
        }
    ]
}
We have more available in our support center.
I