Update a customer by lookup key
PATCH/customers/:lookupKey/:lookupValue
Update existing B2C customer account information using dynamic lookup keys with comprehensive field validation and partial update support.
Key Features
- Dynamic Lookup Keys: Update customer accounts by
id
orsourceId
+source
combination - Partial Updates: Only update the personal information fields provided in the request body
- Field Validation: Comprehensive validation with clear error messages for customer data
- Flexible Identification: Support for both internal IDs and external source references for customer accounts
- Error Handling: Clear error responses for invalid data or missing customer accounts
Request
Responses
- 200
- 400
- 404
Update a customer by lookup key - 200
Update a customer by lookup key - 400 (invalid lookup key)
Update a customer by lookup key - 404