← API reference
Mutation / commerce

updateContact

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

Arguments

Contact ID to update

Fields to update — only provided fields are changed

Returns UpsertContactPayload!

Explore in a view

Order Intake
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.