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 a B2C customer with associated addresses.
Provides access to address information for customer accounts including delivery, billing, and contact addresses used for order fulfillment.