Make multiple cart requests and return 1 complete cart response. Sounds to good to be true but it is. The standard batch processing that WordPress supports is too problematic for developers when it comes to using the cart data to present it.Seriously if you try it yourself, you would not want to use the standard way.We took away the pain of having to track and merge data together for you, so you can go about your programming with ease.It supports both authenticated users and guest customers.
It’s very simple. Post your requests as you would do a standard WordPress batch request only you are using our special batch endpoint wp-json/cocart/batch instead.
The results is one complete cart response (if all requests are successful). You should see multiple notices return for each of the requests. Will leave you to decide how you use them.