Sales & CRMQu Query

getContact

Topics: Commerce

Fetch a contact by its stable ID. Requires contact:read permission.

Returns

ContactState

Arguments

id

ContactID!Required

Contact ID to fetch

Exact field SDL
"""Fetch a contact by its stable ID. Requires contact:read permission."""
getContact(
  """Contact ID to fetch"""
  id: ContactID!
): ContactState @topic(names: ["commerce"])

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