'Get Woocommerce CoCart API response(add, update, delete) after promotion applied

I would like to get the responses of each route (add to cart, update cart and delete cart) already applied to the promotion. What I face now is it only response the before promotion data. I can get the already promotion applied data by calling get cart API but I don't want to call another request to reduce the delay time.

The plugin I use for promotion is WooCommerce Discount Rules and we have promotion like (bulk discount, buy x get x, buy x get y). These rules work fine in WooCommerce Cart System but not to the Headless CoCart Lite API plugin.

How can I solve the problem, please help me if anyone have idea.



Solution 1:[1]

If you are using CoCart Lite API v2 then with every cart request you will get the cart updated.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sébastien