Base URL
http://localhost:3000/api/v2. All routes are prefixed with /api/v2.
Authentication
An endpoint can require abearerAuth session, a shop key through apiKeyAuth, accept either mechanism, or be public. For a key:
Response conventions
Success has the shape{ success: true, data, message? }; an error { success: false, statusCode, error, timestamp, path }. Always check the success field. See Error handling.
Identifiers
Resource identifiers (shopId, serverId, orderId, …) are MongoDB ObjectIds — a 24-character hex string (^[0-9a-fA-F]{24}$). An invalid format returns 400.