Update Client API Request 404 Error

Hello,

I am trying to send an API request to update a customer in the system. I keep getting an error stating “The remote server returned an error: (404) Not Found”. I made sure the URL I am using is correct. The json data we are sending in the update is exactly the same in the client post request we send which creates the client perfectly fine. Can you help me figure out why the PUT request is returning this error?

Thank you

Hi,

What URL are you using?

The url to our hosted environment is as follows:

https://domain.com/bluemoontest/public/api/v1/clients/2

Thank you

That would mean you’re using the selfhost version.

Are you using v4 or v5?

We are using v4 of the API

Do you have an active client with that id? It should show with this link:

https://domain.com/bluemoontest/public/clients/2