HTTP Codes
Salable's API is RESTful. So that means we use the standard HTTP response codes for both successes and failures.
HTTP Code | What it means |
---|---|
200 | The request was successful and the action has been completed. |
201 | This will be sent for the successful completion of POST requests and indicates that the new item was created, eg. a new license. |
204 | The request was successful but there was no content to return. |
400 | There was an error on the client side and the request couldn't be completed. |
401 | There was an authentication problem. If you get this error you should check your API key was correctly included in your header. |
404 | The request couldn't be completed as the requested resource(s) doesn't exist. |
500 | A problem on our side. If you experience one of these errors, reach out to us and we will help. |