CubeCart REST API
The CubeCart REST API provides programmatic access to your store's data over HTTPS. It enables:
- Third-party integrations — sync products, orders, and customers with ERP, warehouse, accounting, or marketplace systems.
- Headless frontends — power a custom storefront (React, Vue, mobile app) with CubeCart as the backend.
- Admin automation — bulk-manage products, update orders, and configure settings via scripts.
Base URL
All API endpoints are prefixed with your store URL:
https://example.com/api/v1/
Available Resources
| Resource | Endpoint | Description |
|---|---|---|
| Products | /products | Full CRUD + images, options, reviews |
| Categories | /categories | CRUD + nested tree |
| Orders | /orders | List, detail, status, notes |
| Customers | /customers | CRUD + addresses, order history |
| Coupons | /coupons | CRUD + code validation |
| Shipping | /shipping | Methods and rates |
| Tax | /tax | Classes, rates, calculation |
| Settings | /settings | Store config, currencies, countries |
| Reviews | /reviews | Approve, edit, delete |
| Files | /files | Upload, list, delete |
Quick Start
- Log in to your CubeCart admin panel.
- Go to Settings → API Keys.
- Click Create New, set permissions, and save.
- Copy the API Key and Secret (shown once).
- Make your first request:
curl -H "Authorization: Bearer YOUR_KEY:YOUR_SECRET"
https://example.com/api/v1/settings/store