Developer Documentation
Complete API reference, webhooks, React components, and integration guides for building with our e-commerce platform. Everything you need to create powerful customer experiences.
REST API
Complete reference for all API endpoints including products, orders, customers, and inventory management.
Webhooks
Real-time event notifications for orders, payments, inventory changes, and customer interactions.
UI Components
Pre-built React components for checkout flows, product displays, and customer interfaces.
Quick Start Guide
Authentication
Get your API key from the admin dashboard and include it in your request headers.
https://api.shell-platform.com/products
Fetch Products
Retrieve your product catalog with filtering, pagination, and search capabilities.
?category=electronics
&limit=20&offset=0
Create Orders
Process orders and payments through our secure checkout API with full transaction support.
{
"items": [...],
"customer": {...}
}
Popular API Endpoints
SDK Examples
JavaScript/React
const client = new ShellSDK(apiKey);
Python
client = ShellClient(api_key)
API Documentation
Add Cart Item
Add an item to the cart Requires both Organization Key and Admin JWT Token for authentication.
Create Cart
Create a new shopping cart session Requires both Organization Key and Admin JWT Token for authentication.
Create Checkout Session
Creates a new checkout session for a given cart. Supports two modes: cart ID reference (fetches from database) or direct cart payload (includes items inline). Returns a checkout URL with a short-lived session token valid for 5 minutes that redirects users to the shipping step.
Get Cart
Retrieve cart details by cart ID Requires both Organization Key and Admin JWT Token for authentication.
Webhook Events
[WEBHOOK] Cart Abandonment
cart.abandonedWebhook triggered when a cart is abandoned for 24+ hours without checkout. Useful for recovery campaigns and analytics.
[WEBHOOK] Order Completion
order.completedWebhook triggered when an order is successfully completed and payment is confirmed. Handles final order processing and notifications.