Customers
Update Customer
Update an existing customer’s information
Overview
The customer update endpoint allows you to modify existing customer information. You can perform both partial and full updates to customer records.
Base URL
Authentication
All requests must include your API key in the Authorization header:
Request Parameters
Path Parameters
The unique identifier of the customer to update
Body Parameters
Customer’s first name
Customer’s last name
Customer’s email address. Must be a valid email format.
Customer’s phone number in E.164 format (e.g., +2348012345678)
Customer’s billing address information
Examples
Response
Success Response (200 OK)
Error Responses
Update Rules
Important Update Considerations
- Only provide fields that need to be updated
- Nested objects (like billing_address) must be updated as a complete object
- Empty strings ("") will clear the field value
- Null values are ignored
- Phone numbers must be in E.164 format
- Email addresses must be valid format
Rate Limits
Customer update requests are limited to:
- 10 requests per minute per API key
- 1000 requests per day per API key
Versioning
The current version of this API is v1. We recommend including a version accept header:
Best Practices
-
Partial Updates
- Only send fields that need to be changed
- Use PATCH for partial updates
- Validate data before sending
-
Error Handling
- Implement proper error handling
- Validate response status codes
- Log failed update attempts
-
Idempotency
- Use idempotency keys for critical updates
- Retry failed requests with the same idempotency key
-
Validation
- Validate all input fields client-side
- Handle validation errors appropriately
- Check response data matches expected format
Need Help?
For additional support:
- Check our API Reference
- Contact Support
- Join our Developer Community