Zum Inhalt springen

updateCompany

Update an existing company. The user must have update access on the target object.

Type: CompanyUpdatePayload!

Arguments

  • company: CompanyInput! — The fields to update on the company.
  • id: UID! — Id of the object to change.
mutation($company: CompanyInput!, $id: UID!) {
updateCompany(company: $company, id: $id) {
Company {
burNumber
cantonApprenticeshipCompanyNumber
childItemLinkType
contactName
id
name
uid
}
changes {
field
newValue
oldValue
}
id
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
runtime
}
}