Conventional HTTP response codes are used to indicate success or failure of a request.
Response Code | Description |
---|---|
200 OK | Everything worked as expected. |
201 Created | Order object successfully created. |
400 Bad Request | General client error, usually because of missing or malformed data. |
401 Unauthorized | The API Key was not authorized. |
404 Not Found | The requested resource was not found. |
409 Conflict | The request could not be completed due to a conflict with the current state of the resource. |
500, 502, 503, 504 | Server errors. |