Overview
The Partoo API uses standard HTTP response codes to indicate success or failure. This guide covers the most common error codes and how to respond to them effectively.HTTP status codes are grouped into three categories:
- 2xx: Success
- 4xx: Client Errors
- 5xx: Server Errors
400 - Bad Request
400 - Bad Request
The request is malformed or missing required fields.
401 - Unauthorized
401 - Unauthorized
403 - Forbidden
403 - Forbidden
The API key doesn’t have permission to perform this request.
404 - Not Found
404 - Not Found
The resource you’re looking for doesn’t exist.
415 - Unsupported Media Type
415 - Unsupported Media Type
Ensure that the
Content-Type
header is set to application/json
on POST, PUT, and PATCH requests.429 - Too Many Requests
429 - Too Many Requests
Your application has hit the rate limit.See Rate Limits for more information.