I am trying to update billing information such as the billing contact’s first and last name by issuing the following HTTP request:
PATCH https://api.zoom.us/v2/accounts/me/billing
{"first_name":"This is a test","last_name":"Test"}
but I get the following response:
HTTP/1.1 404 Not Found
{"code":2001,"message":"Account does not exist: me."}
My first thought was that I should use my actual account ID rather than “me”, so I modified my request like so:
PATCH https://api.zoom.us/v2/accounts/VjZoEArIT5y-<... snipped for security reasons ...>/billing
and the response was the same:
{"code":2001,"message":"Account does not exist: VjZoEArIT5y-<... snipped for security reasons ...>."}
What’s confusing is that I am able to retrieve my billing information using me
as my account id. Like so:
GET https://api.zoom.us/v2/accounts/me/billing
I am confused why I can retrieve my billing info using me
as my account id but I can’t update the billing info using me
.
I have a feeling (I could be wrong though) that this error message is simply misleading and the problem lies elsewhere. Maybe I don’t have the right permissions, maybe it’s something else?