Update name
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
- Core.Customer.Name.Changed
API reference
Updates the name on a customer record.
Endpoint: /core/v1/cm/customers/{customerId}/name
PUT
https://sandbox.crbcos.com/core/v1/cm/customers/{customerId}/name
curl -L -X PUT 'https://sandbox.crbcos.com/core/v1/cm/customers/4e2a0d37-3e93-461d-9f88-b300007af893/name' ^
-H 'Content-Type: application/json' ^
-H 'Authorization: Bearer token' ^
-d '{
"firstName": "Brandon",
"lastName": "Sanderson"
}'