Sales & CRMMu Mutation

updateContact

Topics: Commerce

Update a contact. Only provided fields are changed. Requires contact:write permission.

Returns

UpsertContactPayload!

Arguments

id

ContactID!Required

Contact ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a contact. Only provided fields are changed. Requires contact:write permission.
"""
updateContact(
  """Contact ID to update"""
  id: ContactID!
  """Fields to update — only provided fields are changed"""
  input: UpdateContactInput!
): UpsertContactPayload! @topic(names: ["commerce"])

Declared on Mutation. Access is checked by the platform for each operation.