The Commerce pillar is a Shopify-alternative for AI-built sites. Stripe Connect is wired in from day one, so payouts go straight to the project owner — never through Neural Draft. Cart lives in the buyer’s browser; we take a cart payload and create a Stripe Checkout Session on the connected account.Documentation Index
Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt
Use this file to discover all available pages before exploring further.
What this gives you
- Products with variants, categories, inventory tracking, image galleries, multi-language translations.
- Stripe Connect — Express onboarding flow, status checks, charges / payouts gating.
- Checkout sessions — pass a cart, get a Stripe-hosted checkout URL. Direct charges on the connected account.
- Orders with full state machine (
pending → paid → processing → shipped → delivered), refunds, partial refunds. - Storefront widgets — product card, buy button, cart drawer, all CDN-cached.
- Manual orders — for offline / cash sales that bypass payment.
Quick example
A typical e-commerce flow: list products publicly, accept a cart, create a Stripe Checkout Session, redirect the customer.Common workflows
1. Onboard Stripe Connect for the project
Required for any paid product or paid booking. The project owner clicks a button, lands on Stripe-hosted onboarding, and returns when complete.connect.account_updated webhook fires and GET /v1/connect/status reports
charges_enabled: true.
Cost: 250 credits per Connect account, per month — billed at month-end.
2. Create a product
price is integer cents. Currency follows the project’s Stripe Connect
currency.
3. Add variants
4. Drop a buy-button widget into a page
5. Listen for paid orders
Order to paid, decrement stock, and fire order.paid to your
endpoint. Use it to send a fulfilment email, kick off a warehouse pick, or
tag the customer in your CRM.
6. Refund an order
amount (cents) is optional. Omit for a full refund. Partial refunds
update payment_status to partially_refunded.
7. Manual / cash orders
Useful for in-person and over-the-phone sales that bypass Stripe Checkout.payment_status: unpaid. Flip it to paid (via
PATCH /v1/orders/{id}/status) once cash is in hand.
Reference
| Endpoint | Tag |
|---|---|
GET /v1/products | Commerce |
POST /v1/products | Commerce |
GET /v1/products/{id} | Commerce |
PATCH /v1/products/{id} | Commerce |
POST /v1/products/{id}/variants | Commerce |
GET /v1/product-categories | Commerce |
GET /v1/orders | Commerce |
PATCH /v1/orders/{id}/status | Commerce |
POST /v1/orders/{id}/refund | Commerce |
POST /v1/checkout-sessions | Commerce |
POST /v1/orders/manual | Commerce |
GET /v1/connect/status | Commerce |
POST /v1/connect/onboarding | Commerce |
GET /v1/public/products | Commerce |