Getting Started
If you’re new to CoCart, we recommend starting with these foundational tutorials:Getting Started with Postman
Learn how to test and explore the CoCart API using Postman
JWT Token Checkup
Verify and troubleshoot your JWT authentication tokens
Common Use Cases
These tutorials cover common scenarios you’ll encounter when building headless WooCommerce applications:Convert Cart to Order
Learn how to convert a cart session into an order using the WooCommerce REST API
Authentication Injection
Implement custom authentication methods in your application
Extending CoCart
Learn how to extend and customize CoCart to meet your specific needs:Framework Integrations
Step-by-step guides for integrating CoCart with popular JavaScript frameworks:Astro
Astro
Build fast, content-focused ecommerce sites with Astro and CoCart.
Next.js
Next.js
Create server-rendered React applications with Next.js and CoCart.
React Native
React Native
Build native mobile apps with React Native and CoCart.
Tips and Tricks
Quick solutions for common tasks:- Generate TypeScript Types - Automatically generate TypeScript types from CoCart OpenAPI specifications
- Generate Image Data URL - Convert product images to base64 data URLs
What You’ll Need
Before starting these tutorials, make sure you have:- A WordPress site with WooCommerce installed
- CoCart plugin installed and activated
- Basic understanding of REST APIs
- Familiarity with your chosen programming language
Getting Help
If you run into issues while following these tutorials:- Check the API Reference for detailed endpoint documentation
- Visit our Support Centre for troubleshooting guides
- Join our Community to ask questions and share knowledge