Query / commerce
getCustomer
Fetch a single customer by ID. Requires customer:read permission.
Arguments
idCustomerID!Customer ID to fetch
Returns CustomerState
Scalar fields at a glance
idCustomerID!nameString!externalIdStringemailStringphoneStringnotesStringExplore in a view
View exact SDL
"""Fetch a single customer by ID. Requires customer:read permission."""
getCustomer(
"""Customer ID to fetch"""
id: CustomerID!
): CustomerState @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.