Update Company Telephone Number
On this page
GraphQL endpoint: /company
Update the types and visibility settings of an existing company telephone number. The telephone number itself cannot be changed, only its metadata like types and visibility.
Query
mutation (
$id: ID!
$types: [CompanyTelephoneNumberType!]
$visibility: [CompanyVisibilityType!]
) {
updateCompanyTelephoneNumber (
id: $id
types: $types
visibility: $visibility
) {
id
number
types
visibility
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000001",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
]
}
Response
{
"data": {
"updateCompanyTelephoneNumber": {
"id": "00000000-0000-4000-8000-000000000001",
"number": "1",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
]
}
}
}