Update Company Address
On this page
GraphQL endpoint: /company
Update an existing address for the company. You can modify the address details, types, and visibility settings.
Query
mutation (
$id: ID!
$street: String
$city: String
$zipCode: String
$state: String
$country: String
$types: [CompanyAddressType!]
$visibility: [CompanyVisibilityType!]
) {
updateCompanyAddress (
id: $id
street: $street
city: $city
zipCode: $zipCode
state: $state
country: $country
types: $types
visibility: $visibility
) {
id
city
country
state
street
zipCode
types
visibility
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000001",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
]
}
Response
{
"data": {
"updateCompanyAddress": {
"city": "test city",
"country": "United States",
"id": "00000000-0000-4000-8000-000000000001",
"state": "Alabama",
"street": "test street 1",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
],
"zipCode": "12345"
}
}
}