API endpoint for end customer contact

Hello,

we have over 3000 subaccounts. For all those we want to check/update the end customer contact under billing information. Is there an API endpoint for this since doing it manually is way too much work?

Hi @Maya_C4V
Thanks for reaching out to us, I am happy to help here!
Could you please confirm if you have a Master account license enabled in your account?
If so, you should be able to access all Master account API endpoints:

https://developers.zoom.us/docs/api/rest/reference/zoom-api/ma/#tag/Billing

Hello Elisa,

i have access to the Master Account API and found the correct endpoint. But nor I get an error:
“<?xml version="1.0" encoding="UTF-8" standalone="yes"?>300Validation Failed.phone_numberShould be number.”
When the documentation says:
phone_number string Billing Contact’s phone number.

API endpoint: /accounts/{accountId}/billing

I can’t enter a number since E164 Phone numbers contain a ‘+’

Hi @Maya_C4V
could you please share the request url and request body that you are sending so I can take a look into it please

Hello Elisa,

the body is:
{
“email”: “email@email.com”,
“phone_number”: “+49 xxxxxxxxxxxxx”
}
The xes are numbers.

And the URL is https://api.zoom.us/v2/accounts/{id}/billing
I use a PATCH request like described in your documentation

Hey @Maya_C4V
Can you try passing the phone number without the +

Hello Elisa,

just jemoving the + doesn’t help. You have to pass the value as an integer. But that is problematic since it’s not a valid E.164 phone number anymore. And your documentation is wrong since it says string. And if you change it manually you can add any letter you want. Can you please look into your backend?

Hi @Maya_C4V
I have sent you a private message, please follow up there