Update Company Profile
On this page
GraphQL endpoint: /company
Update the company's profile information including basic details and visibility settings. This mutation allows comprehensive updates to company profile data.
Query
mutation (
$legalName: String
$brandName: String
$profileName: String
$yearFounded: Int
$aboutUs: String
$metadata: JSON
$legalNameVisibility: [CompanyVisibilityType!]
$brandNameVisibility: [CompanyVisibilityType!]
$aboutUsVisibility: [CompanyVisibilityType!]
$yearFoundedVisibility: [CompanyVisibilityType!]
$metadataVisibility: [CompanyVisibilityType!]
) {
updateCompany (
legalName: $legalName
brandName: $brandName
profileName: $profileName
yearFounded: $yearFounded
aboutUs: $aboutUs
metadata: $metadata
legalNameVisibility: $legalNameVisibility
brandNameVisibility: $brandNameVisibility
aboutUsVisibility: $aboutUsVisibility
yearFoundedVisibility: $yearFoundedVisibility
metadataVisibility: $metadataVisibility
) {
id
legalName
brandName
profileName
yearFounded
aboutUs
metadata
}
}
Variables
{
"aboutUs": "Updated company description",
"aboutUsVisibility": [
"PARTNER",
"CUSTOMER"
],
"brandName": "Updated Brand",
"brandNameVisibility": [
"PARTNER",
"CUSTOMER"
],
"legalName": "Updated Legal Name Inc",
"legalNameVisibility": [
"PARTNER",
"CUSTOMER"
],
"metadata": {
"updated_key": "updated_value"
},
"metadataVisibility": [
"PARTNER",
"CUSTOMER"
],
"profileName": "updated-profile",
"yearFounded": 2015,
"yearFoundedVisibility": [
"PARTNER",
"CUSTOMER"
]
}
Response
{
"data": {
"updateCompany": {
"aboutUs": "Updated company description",
"brandName": "Updated Brand",
"id": "00000000-0000-4000-8000-000000000001",
"legalName": "Updated Legal Name Inc",
"metadata": {
"updated_key": "updated_value"
},
"profileName": "updated-profile",
"yearFounded": 2015
}
}
}