SolariumSolariumDocs
Browse The Docs

Docs/API Reference/Contacts

POST

Update A Contact

Changes a contact's name, legal name, contact person, billing address, emails, phone or province. Only what you pass changes. An empty string clears a field.

Parameters

organizationIdUUID!required

Organization ID

nameString!required

"update_contact"

params.contact_idString!required

The contact

params.nameString

A new name. Refused if another contact of the same type has it (merge them instead)

params.legal_nameString

Printed on their invoices

params.contact_nameString

Printed as Attn:

params.billing_addressString

One line per line

params.emailString

One or more emails, comma-separated. A customer's invoices go to all of them

params.phoneString

Phone number

params.regionString

The province of their address

applyBoolean

true to save it

Request
mutation {
  runOp(
    organizationId: "a1b2c3d4-..."
    name: "update_contact"
    apply: true
    params: { contact_id: "b2c3d4e5-...", legal_name: "North Group Holdings Ltd.", contact_name: "Dana Park" }
  ) { success applied result }
}
Response
{
  "data": {
    "runOp": {
      "success": true,
      "applied": true,
      "result": { "summary": "North Group Updated: contact_name, legal_name." }
    }
  }
}