Build headless stores, without building an API
CoCart handles the shopping cart in any modern framework of your choosing. No local storing required. Powerful and developer friendly ready to build your headless store.
Proudly powering 1,000+ stores and achieving a 5 star rating!
// import CoCartAPI from "@cocart/cocart-rest-api"; // Supports ESM const CoCartAPI = require("@cocart/cocart-rest-api").default; const CoCart = new CoCartAPI({ url: "https://example.com" }); CoCart.post("add-item", { product_id: "32", quantity: 1 }) .then((response) => { console.log( response.data ); }) .catch((error) => { console.log( error.response.data ); });
Build headless stores, without building an API
CoCart handles the shopping cart in any modern framework of your choosing. No local storing required. Powerful and developer friendly ready to build your headless store.
Proudly powering 1,000+ stores and achieving a
5 star rating!
Built for
Extensive Documentation
Our documentation provides clear examples for each API in many code languages. Developers can use filters and action hooks for customization needs. Tools and Resources are also provided.
Support
If you are in need of support, I’m here to help and so is the CoCart community.
Build the Cart Your Way
CoCart allows you to design and control the cart your way. Everything you need to add, update or remove items to and from the cart. Even authenticating as a returning customer.
Made for developers
At the core of the CoCart plugin is a simple and flexible API.
Make a request in any method of your choosing and display the results how you like in your headless store.
What People Are Saying
I used this plugin for a mobile app project I have been working on and first off the documentation was very easy to follow. I had no issues getting it working and it integrated with JWT Authentication out of the box. Great plugin, Great support and will highly recommend this plugin to anyone who needs to access the cart through a REST API.
Andrew Singh
This plugin was critical to achieve my project of building a headless / decoupled WooCommerce store. I wanted to provide my clients with a CMS to manage their store, but wanted to build the front-end in React. I was able to fetch content over the WooCommerce REST API, but otherwise would not have been able to fetch the cart, and add & remove items if not for this plugin.
Thank you very much Sébastien for sharing this extension, you’ve saved me a lot of time.
Allan Pooley – Little and Big
Thanks for doing such a great work with this! Works exactly as expected and CoCart seems to have a nice community around it. The founder seems really devoted and that’s one of the key things for a plugin like this to live on and get the right updates in the future. We just got ourselves the lifetime subscription.
MightyGroup – Rikard Kling
What’s new at CoCart
Get started today
Download the CoCart plugin and build your headless store today!
CoCart All Rights Reserved. 2021