make install-dev
make demo-run
make loaddataCreate a superuser for staff-only endpoints:
make superuserDefault base URL:
export BASE_URL=http://127.0.0.1:8010curl -X POST "$BASE_URL/api/catalog/categories/" \
-H "Content-Type: application/json" \
-d '{"name":"Coffee","slug":"coffee","description":"Beans"}'curl -X POST "$BASE_URL/api/catalog/products/" \
-H "Content-Type: application/json" \
-d '{"name":"Single Origin","slug":"single-origin","sku":"COF-001","category_id":1,"price_amount":"12.50","currency":"ZAR","is_active":true}'curl -X POST "$BASE_URL/api/checkout/carts/" \
-H "Content-Type: application/json" \
-d '{"email":"buyer@example.com"}'
curl -X POST "$BASE_URL/api/checkout/cart-items/" \
-H "Content-Type: application/json" \
-d '{"cart_id":1,"product_id":1,"quantity":2}'curl -X POST "$BASE_URL/api/checkout/checkout/" \
-H "Content-Type: application/json" \
-d '{"cart_id":1,"email":"buyer@example.com","full_name":"Buyer"}'Response includes both VAT-inclusive and VAT-exclusive totals:
subtotal_excl_vat_amountsubtotal_incl_vat_amounttotal_excl_vat_amounttotal_incl_vat_amounttax_amount
curl -X POST "$BASE_URL/api/checkout/orders/1/transition/" \
-H "Content-Type: application/json" \
-d '{"status":"paid"}'make show-urlscurl -X GET "$BASE_URL/api/internal/dashboard/kpis/?date_from=2026-02-01&date_to=2026-02-18" \
-u <your-superuser-username>:<your-superuser-password>