Updates an existing customer’s information.
This endpoint allows you to modify customer details while preserving their core information.
id: Customer UUID (required) - Must be a valid UUID formatPATCH /api/v0/customers/123e4567-e89b-12d3-a456-426614174000
{
"first_name": "John",
"last_name": "Smith",
"phone_number": "+1-987-654-3210",
"customer_type": "Small Business"
}
Your secret API key. Keep this secure and never expose it in client-side code.
Customer unique identifier (UUID)
"cust_123e4567-e89b-12d3-a456-426614174000"
Customer update data
Customer's first name. Used for personalization and legal documentation.
1 - 100"John"
Customer's last name. Used for personalization and legal documentation.
1 - 100"Doe"
Customer's email address. Used for notifications, receipts, and account management. Must be a valid email format.
"john.doe@example.com"
Customer's phone number. Used for SMS notifications and verification. Include country code for international numbers.
^[+]?[1-9]\d{1,14}$"+1-555-123-4567"
Type of customer account. Determines available features and compliance requirements.
Individual, Startup, Small Business, Medium Business, Enterprise, Non-Profit, Government "Individual"
Current status of the customer account. Controls access to services and features.
ACTIVE, BLACKLISTED, DEACTIVATED, DELETED "ACTIVE"
Successfully updated customer