HoodslyHub API Documentation
Welcome to the HoodslyHub Order Service API. This mock API simulates the Laravel 12 backend for development and testing.
Base URL
https://hoodsly-moc-api.wppool.dev/api
Authentication
Most endpoints require JWT authentication. Include your token in the Authorization header:
Authorization: Bearer YOUR_JWT_TOKEN
For development, you can bypass auth by adding ?bypass=true to any request.
API Sections
| Section | Description |
|---|---|
| Authentication | Login, logout, token refresh, user profile |
| Orders | Create, list, update, delete orders |
| Failed Orders | Recovery system for failed order submissions |
| Settings | Shop-specific configuration settings |
| Email Templates | Manage notification email templates |
| Tasks | Task management for order workflows |
Quick Start
1. Login
curl -X POST https://hoodsly-moc-api.wppool.dev/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "admin@hoodslyhub.com", "password": "password"}'
2. List Orders
curl https://hoodsly-moc-api.wppool.dev/api/v1/order \
-H "Authorization: Bearer YOUR_TOKEN"
3. Create Task
curl -X POST https://hoodsly-moc-api.wppool.dev/api/v1/tasks \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"order_id": "WC-12345", "title": "Process order", "assigned_to": 2}'
Request
GET
/api/v1/status
Response