Query / commerce
getCustomerBy
Fetch a customer by external ID. Requires customer:read permission.
Arguments
externalIdStringExternal system identifier
Returns CustomerState
Scalar fields at a glance
idCustomerID!nameString!externalIdStringemailStringphoneStringnotesStringExplore in a view
View exact SDL
"""Fetch a customer by external ID. Requires customer:read permission."""
getCustomerBy(
"""External system identifier"""
externalId: String
): CustomerState @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.