Documentation Index
Fetch the complete documentation index at: https://docs.rmz.gg/llms.txt
Use this file to discover all available pages before exploring further.
Error Handling
All RMZ APIs use standard HTTP status codes and return structured JSON error responses.Merchant API Error Format
Error responses from the Merchant API include anerror: true field:
Storefront API Error Format
The Storefront API usessuccess: false:
License API Error Format
The License API returns an error code string:HTTP Status Codes
| Code | Meaning | When It Happens |
|---|---|---|
200 | Success | Request completed successfully |
201 | Created | Resource created (e.g., new order) |
400 | Bad Request | Validation error or malformed request |
401 | Unauthorized | Missing or invalid authentication |
403 | Forbidden | Authenticated but not authorized |
404 | Not Found | Resource does not exist |
422 | Unprocessable Entity | Validation failed |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Unexpected server error |
Validation Errors
When request validation fails (400 or 422), the response includes field-level errors:Best Practices
- Check status codes — do not assume every response is successful
- Parse error messages — they contain actionable information
- Handle validation errors — iterate the
errorsobject to display field-specific messages - Log errors — include the timestamp and request details for debugging
- Handle network errors — timeouts and connection failures are not JSON responses

