Skip to main content

customer

Retrieve a specific customer by their unique internal identifier.

Business Rules

  • Customer must exist in the system
  • Returns complete customer information including personal details, contact information, and metadata
  • Includes related data such as addresses, sources, and attributes

Error Scenarios

  • CUSTOMER_NOT_FOUND_ERROR: Customer with the specified ID does not exist
  • CUSTOMER_FETCH_ERROR: System error occurred while retrieving customer data

Use Cases

  • Customer profile management
  • Order processing and customer verification
  • Customer service and support operations
  • Data validation and customer lookup

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 internal identifier for the customer used for system operations and data relationships

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.