Customer management, profile operations, and CSV export functionality
Token validation happens at Gateway level via JWT verification
List and filter customers with pagination and sorting
GET /merchant/api/v1/domains/:domain_id/customers
GET /api/customer_users?domain_id=:domain_id&...
Customer Service
id, tenant_id, email, phone, registration_source, enabled, approved, email_verified, phone_verified, first_name, last_name, group_id, group_name, last_active_on, total_orders, total_order_amount, status
Retrieve detailed customer profile including group information
GET /merchant/api/v1/domains/:domain_id/customers/:id
GET /api/customer_users/:id
Customer Service
GET /api/addresses?customer_id=:id
Customer Service (optional)
Create a new customer under the domain
POST /merchant/api/v1/domains/:domain_id/customers
POST /api/customer_users
Customer Service
POST /api/events/log
Util Service
Update customer profile information
PUT /merchant/api/v1/domains/:domain_id/customers/:id
PUT /api/customer_users/:id
Customer Service
POST /api/events/log
Util Service
Delete a customer from the domain
DELETE /merchant/api/v1/domains/:domain_id/customers/:id
DELETE /api/customer_users/:id
Customer Service
POST /api/events/log
Util Service
Export customers to CSV format for reporting
GET /merchant/api/v1/domains/:domain_id/customers/csv
GET /api/customer_users?domain_id=:domain_id&...
Customer Service
id,tenant_id,email,registration_source,enabled,approved,email_verified,phone_verified,group_id,group_name,last_active_on,total_orders,total_order_amount
Customer Users are domain-scoped. Token validation happens at the Seller API Gateway level via JWT verification.