Skip to main content

customer

Retrieve detailed information about a specific customer.

Returns comprehensive customer data including personal information, contact details, and account status. Access is restricted based on user permissions and customer relationships.

Possible errors:

  • CUSTOMER_NOT_FOUND_ERROR: Customer with the specified ID does not exist
  • CUSTOMER_FETCH_ERROR: Failed to retrieve customer information

AUTH: Role=[user.OWNER,user.EDITOR,user.VIEWER] OR (('user is authenticated') AND ('customerId if present in input matches JWT'))

customer(
id: Int!
): Customer!

Arguments

customer.id ● Int! non-null scalar

Unique identifier of the customer to retrieve.

Must be a positive integer representing a valid customer ID in the system.

Type

Customer object

Customer entity representing individual customers and end users.

External entity from the customer service that provides customer identification and profile information. Used as a reference for customer-specific attributes and personalization features within the attribute system.