โ† API reference
Query / commerce

getContact

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

Arguments

Contact ID to fetch

Returns ContactState

Scalar fields at a glance

customerIdCustomerID!
externalIdString
firstNameString!
lastNameString!
emailString
โ†— View the complete ContactState type

Explore in a view

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

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