# CoCart Docs for Raycast

URL: https://www.raycast.com/cocart_headless/cocart-docs

> Search CoCart documentation for the headless WooCommerce REST API, including API endpoints, hooks, filters and error codes.

- Install: raycast://extensions/cocart_headless/cocart-docs
- Author: [CoCart Headless](https://www.raycast.com/cocart_headless)
- Installs: 4
- Platforms: macOS, Windows
- Categories: Documentation, Developer Tools, Productivity
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/8d846393b506d23c5d9ebae29bb35e3dc7653829/extensions/cocart-docs/

## Commands

- **Search CoCart User Guides**: Search through CoCart user guides, knowledge-base, tutorials, and how-to articles
- **Browse API Reference**: Browse CoCart API endpoints by version and category
- **Search Hooks & Filters**: Search CoCart action hooks, filters, and functions
- **Lookup Error Codes**: Look up error codes and their meanings in CoCart API
- **Recent CoCart Docs**: View recently opened docs and quick access pages
- **CoCart Quick Links**: Quick access to CoCart documentation sections and resources
- **What's New in CoCart**: View latest updates and breaking changes in CoCart
- **CoCart Docs Menu Bar**: Quick access to CoCart docs from the menu bar

## README

### CoCart Docs

Search [CoCart](https://cocartapi.com/) API documentation without leaving your keyboard. Browse 120+ pages of docs, read them inline, and jump to the browser when you need to.

[CoCart](https://cocartapi.com/) is a headless ecommerce REST API for WooCommerce — it lets you build custom storefronts, mobile apps, and other shopping experiences decoupled from WordPress.

![Screenshot](https://github.com/raycast/extensions/raw/8d846393b506d23c5d9ebae29bb35e3dc7653829/extensions/cocart-docs//metadata/cocart-docs-1.png)

<a title="Install cocart-docs Raycast Extension" href="https://www.raycast.com/cocart_headless/cocart-docs"><img src="https://www.raycast.com/cocart_headless/cocart-docs/install_button@2x.png?v=1.1" height="64" alt="Install CoCart Docs Raycast extension" style="height: 64px;"/></a>

#### Features

- **Instant search** — Find any doc page across the full CoCart API in seconds
- **Inline detail preview** — Read documentation right inside Raycast without opening a browser
- **Filter by API version** — Switch between v2 (stable) and v1 (legacy) endpoints with a dropdown
- **Browse by category** — Narrow results to Cart, Products, Sessions, Store, JWT, Plugins, and more
- **Individual hook & filter lookup** — Search every action hook, filter, and function by name with usage examples and copy code snippets
- **Error code reference** — Look up individual error codes by name or HTTP status, with descriptions and messages
- **Recent docs** — Tracks recently opened pages across all commands with relative timestamps and source filtering
- **Guides & references** — Access getting started guides, tutorials, CLI reference, and troubleshooting articles alongside the API docs
- **Menu bar access** — Pin recently viewed docs to your menu bar (macOS)
- **Cached for speed** — Results are cached locally for one hour so repeat searches are instant. Hit `Cmd+R` to refresh anytime.

#### Commands

| Command | Description |
| --- | --- |
| Search CoCart Docs | Search through all CoCart API documentation |
| Browse API Endpoints | Browse endpoints by version (v2/v1) and category |
| Search Hooks & Filters | Search individual action hooks, filters, and functions with usage examples |
| Search Error Codes | Look up individual error codes filtered by HTTP status |
| Recent CoCart Docs | View recently opened docs from all commands |
| What's New in CoCart | View latest updates and breaking changes |
| CoCart Quick Links | Quick access to docs, GitHub, and resources |
| CoCart Docs Menu Bar | Pin recently viewed docs to your menu bar (macOS) |

#### Actions

| Action | Shortcut | Description |
| --- | --- | --- |
| Open in Browser | `Enter` | Open the doc page in your browser |
| Copy URL | `Cmd+Shift+C` | Copy the page URL to clipboard |
| Copy Title | `Cmd+Shift+T` | Copy the page title to clipboard |
| Copy Code | `Cmd+Shift+C` | Copy the code snippet (hooks & filters) |
| Copy Hook Name | `Cmd+Shift+N` | Copy the hook or filter name |
| Copy Error Code | `Cmd+Shift+C` | Copy the error code string |
| Copy Error Message | `Cmd+Shift+M` | Copy the error message |
| Refresh Cache | `Cmd+R` | Clear cache and fetch the latest docs |
