โ† API reference
Query / commerce

getCustomer

Fetch a single customer by ID. Requires customer:read permission.

Arguments

Customer ID to fetch

Returns CustomerState

Scalar fields at a glance

nameString!
externalIdString
emailString
phoneString
notesString
โ†— View the complete CustomerState type

Explore in a view

Order Intake
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.