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

SectionDescription
AuthenticationLogin, logout, token refresh, user profile
OrdersCreate, list, update, delete orders
Failed OrdersRecovery system for failed order submissions
SettingsShop-specific configuration settings
Email TemplatesManage notification email templates
TasksTask 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