> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cocartapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CoCart: Decoupling WooCommerce for the modern storefront

> CoCart is the REST-API that unlocks powerful headless WooCommerce capabilities.

<Warning>
  **CoCart Core v5** is still in development but feel free to review the documentation for it and provide feedback on changes, improvements and new features. **Beta releases will be out soon**.
</Warning>

## What is CoCart?

CoCart is the REST-API extension for WooCommerce designed specifically for developers and designers who want the power of a top tier eCommerce platform without the limitations of traditional WordPress themes and plugins.

Build the modern and scalable storefront of your dreams with confidence independent of WordPress using frameworks like **Astro**, **React**, **Vue**, or **Next.js**, gaining complete control over your customers experience no matter what your store sells.

### Problems We Solve

<AccordionGroup>
  <Accordion title="Decoupled Commerce">
    Seamlessly separate your frontend from WordPress, allowing for greater flexibility and customization.
  </Accordion>

  <Accordion title="Optimized Performance">
    Efficient handling of requests to ensure fast and reliable interactions, even under heavy load.
  </Accordion>

  <Accordion title="Developer-Friendly">
    Comprehensive documentation and a supportive community to assist you in building your ideal storefront.
  </Accordion>
</AccordionGroup>

<CardGroup cols={2}>
  <Card title="Installation" icon="wordpress" color="#3858e9" href="/getting-started/core/setup">
    Get started with CoCart in minutes, by downloading and installing our plugin on your WordPress site.
  </Card>

  <Card title="Standards" icon="clipboard" color="#EA8000" href="/overview/standards">
    Learn about CoCart's core standards for the REST API
  </Card>
</CardGroup>

## Core Features

<AccordionGroup>
  <Accordion title="Source of Truth" icon="anchor">
    Built on WooCommerce’s Data Stores API and mirrors most WooCommerce hooks, ensuring broad compatibility from the start.
  </Accordion>

  <Accordion title="Simple, Secure Sessions" icon="cookie-bite">
    Lightweight session keys. No cookies. Database-based session management built for headless.
  </Accordion>

  <Accordion title="Easy Authentication" icon="key">
    Basic authentication for customers are handled however they prefer to login or guided depending on your store needs:

    * Username and Password
    * Email and Password
    * Phone Number and Password.
    * JWT supported via official add-on.

    No Admin API Keys required.
  </Accordion>

  <Accordion title="Domain Dominance" icon="globe">
    Addressing CORS issues in decoupled setups, CoCart grants you control over the origin to address any CORS issues when decoupling. [View CORS section](/documentation/learn/cors) for more info.
  </Accordion>

  <Accordion title="Efficient Product Search" icon="shirt">
    Search products by name, ID, or SKU; filter and retrieve necessary product data with or without authentication, allowing different results based on role type i.e. Membership, Wholesale and more.
  </Accordion>

  <Accordion title="Real-Time Cart Validation" icon="check">
    Our system minimizes the need for multiple requests to verify item and coupon validity in your cart. It efficiently checks stock, calculates totals and fees, ensuring real-time accuracy so your responses are consistently up-to-date.
  </Accordion>

  <Accordion title="Works with Woo Checkout" icon="credit-card">
    Prefer WooCommerce's checkout? Load any cart session into it easily.
  </Accordion>

  <Accordion title="Customizable Callbacks" icon="cogs">
    Register your own cart callbacks without creating new endpoints. CoCart handles the rest, returning responses once complete.
  </Accordion>

  <Accordion title="Cart Insights" icon="chart-bar">
    Monitor all cart sessions, including those nearing expiration or already expired.
  </Accordion>

  <Accordion title="Name Your Price Built In" icon="barcode">
    Empower your customers to donation-based pricing that broadens your flexibility.
  </Accordion>

  <Accordion title="Bulk Cart Requests" icon="layer-group">
    Combine multiple API calls into one for better performance. [View Bulk Requests section](/documentation/learn/batch-requests) for more info
  </Accordion>
</AccordionGroup>

## Integration options

<Warning>
  These SDKs are still in development so in the mean time please refer to our [API Reference](/reference/core) for direct API calls.
</Warning>

### Native SDKs

<CardGroup cols={2}>
  <Card title="JS/TS" icon="js" color="#f7df1e" href="/integrate/sdk/typescript">
    For web and Node.js applications
  </Card>

  <Card title="PHP" icon="php" color="#4F5B93" href="/integrate/sdk/php">
    For WordPress, Laravel, and other PHP applications
  </Card>
</CardGroup>

## Why Choose CoCart?

<CardGroup cols={2}>
  <Card title="Ship Faster" icon="rocket" color="#f91880">
    Focus on building your unique storefront, not developing an API. Get to market faster with CoCart.
  </Card>

  <Card title="No Engineering Overhead" icon="wrench" color="#EA8000">
    CoCart reduces the need for extensive engineering resources. Spend less time on maintenance and more on innovation.
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="API Flexibility" icon="code" color="#f91880">
    Full programmatic control over the API to tailor it to your specific needs.
  </Card>

  <Card title="Enterprise Features" icon="building" color="#EA8000">
    Advanced bulk operations, custom callbacks, rate limiting, and more customizable options.
  </Card>
</CardGroup>

an API designed specifically for WooCommerce to be decoupled. CoCart offers a developer-first approach, ensuring you have the tools and flexibility needed to create a seamless shopping experience.

### Community and Support

CoCart is built in the open with full transparency and a growing community of developers and contributors. Access comprehensive documentation to help you every step of the way.

<CardGroup cols={2}>
  <Card title="Open Source Codebase" icon="github" href="https://github.com/co-cart/co-cart">
    GPL 3.0 license with full transparency on GitHub
  </Card>

  <Card title="Public Development" icon="users-line" href="https://cocartapi.com/suggest-a-feature/?ref=mintlify">
    Feature requests, roadmap, and issues - all in the open
  </Card>
</CardGroup>

### Future-Proof Your Store

Stay ahead with a solution designed to evolve with the latest web technologies and eCommerce trends.

### Get Started Today

Ready to take your WooCommerce store to the next level? [Install CoCart now](/getting-started/core/setup) and start building the modern storefront you've always envisioned.
