UPDATE order status API endpoint is broken

I have been trying to access the API endpoint POST https://api.brickowl.com/v1/order/set_status. I am adding my API key as a url parameter and supplying a valid resource body, but the response is always 403 Forbidden with a body { "error": "Invalid key" }. my key works on all the other endpoints I have used so far, and I checked to make sure the ket had order permissions, and it does. I also tried creating a new key, and it did not work either. so it appears that there is an error in the endpoint.

Comments

  • 2 Comments sorted by Votes Date Added
  • Okay. I figured it out. key needs to be in the request body, and the body needs to be form-data. JSON does not work. The API documentation does not mention this anywhere though. It says that key is supposed to be a url parameter, and that the body should be JSON, but it's not accurate.
  • I have updated the documentation to clarify POST requests as this often trips people up
Sign In or Register to comment.