Overview

Busha Commerce uses HTTP response codes to indicate the success or failure of an API request. In general, 2xx codes indicate that the request was successful. 4xx codes mean that there was an error with what was requested (for example, a required parameter wasn't included), and 5xx code indicates an error on Busha Commerce's end (these would almost never occur).

Response CodesCause
200 - OKEverything works as expected and intended action was carried out.
401 - UnauthorizedThe request was not authorized.
Invalid API KEY or No API Key was provided via the Header X-BC-API-KEY
400 - Bad RequestA parameter passed was invalid or a required field was not included in the request
404 - Not FoundThe requested resource does not exist
429 - Too Many RequestsToo many requests hit the API per second. We recommend that you use exponential backoff in your requests to our API.
500, 502, 503, 504 - Server ErrorsSomething went wrong on our end. This shouldn't happen so please report as soon as you encounter any instance of this.