Query / commerce
getContactBy
Fetch a contact by external ID or email. Requires contact:read permission.
Arguments
externalIdStringExternal system identifier
emailStringContact email address
Returns ContactState
Scalar fields at a glance
idContactID!customerIdCustomerID!externalIdStringfirstNameString!lastNameString!emailStringExplore in a view
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.