All HTTP Requests to the WineDirect Marketplace API will produce response codes in the headers. You can use these codes to help determine if a request was successful or not.
Code | Message | Description |
---|---|---|
200 | OK | The Operation Succeeded |
201 | Created | The Resouce was successfully created |
204 | No Content | The Resouce was successfully updated. Note: We do not return any content in the body for this response code. |
401 | Unauthorized | Authentication failed |
404 | Not Found | Not Found |
422 | Unprocessable Entity | The Resource can not be created or updated because it is invalid. Check JSON response for details. |
429 | Too Many Requests | Too many requests from this IP. Please wait and try again later. |
500 | Internal Server Error | Internal Server Error |