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

ResourceEndpointDescription
Products/productsFull CRUD + images, options, reviews
Categories/categoriesCRUD + nested tree
Orders/ordersList, detail, status, notes
Customers/customersCRUD + addresses, order history
Coupons/couponsCRUD + code validation
Shipping/shippingMethods and rates
Tax/taxClasses, rates, calculation
Settings/settingsStore config, currencies, countries
Reviews/reviewsApprove, edit, delete
Files/filesUpload, list, delete

Quick Start

  1. Log in to your CubeCart admin panel.
  2. Go to Settings → API Keys.
  3. Click Create New, set permissions, and save.
  4. Copy the API Key and Secret (shown once).
  5. Make your first request:
curl -H "Authorization: Bearer YOUR_KEY:YOUR_SECRET" 
     https://example.com/api/v1/settings/store