Get a customer by ID
Customers
Get a customer by ID
Retrieves detailed information about a specific customer.
This endpoint allows you to fetch complete customer details including their contact information and status.
Use Cases
- View customer details
- Verify customer information
- Check customer status before processing payments
Path Parameters
id: Customer UUID (required) - Must be a valid UUID format
Example Request
GET /api/v0/customers/123e4567-e89b-12d3-a456-426614174000
Example Response
{
"id": "cust_123456",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone_number": "+1-555-123-4567",
"customer_type": "Enterprise",
"status": "ACTIVE",
"last_spent": 1250.50,
"last_purchase_date": "2024-03-15T14:30:00Z",
"created_at": "2024-03-20T10:00:00Z",
"updated_at": "2024-03-20T10:00:00Z"
}
GET
Get a customer by ID
