โ† API reference
Query / commerce

getContactBy

Fetch a contact by external ID or email. Requires contact:read permission.

Arguments

externalIdString

External system identifier

emailString

Contact email address

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 external ID or email. Requires contact:read permission.
"""
getContactBy(
  """External system identifier"""
  externalId: String
  """Contact email address"""
  email: String
): ContactState @topic(names: ["commerce"])

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