REST API powering the Total Apparel admin panel and storefront. All endpoints are served under /api.
/api/health
Health check
/api/auth/login
Staff login
/api/auth/me
Current session
/api/products
List / create products
/api/products/:id
Read / update / delete product
/api/categories
List / create categories
/api/subcategories
List / create subcategories
/api/brands
List / create brands
/api/colors
List / create colors
/api/sizes
List / create sizes
/api/news
List / create news articles
/api/sections/:key
Read / update website sections
/api/upload
Upload image (base64)