Update a customer
Customers
Update a customer
Change the externalId on an existing customer record.
PUT
Update a customer
Rebrands a customer record by changing itsDocumentation Index
Fetch the complete documentation index at: https://docs.lms.bsa.ai/llms.txt
Use this file to discover all available pages before exploring further.
externalId. This is the
only mutable customer attribute.
firstname and displayName move with externalId — the create-time
invariant that firstname mirrors externalId for searchability is
preserved on update. If you depend on either of those fields in your
own systems, expect them to change.
Other customer attributes (mobileNo, emailAddress, names beyond
firstname) cannot be modified through this API. Close the customer and
create a new one if you need a different shape.
Two equivalent forms — see Addressing a customer.
Path parameters
The customer’s LMS id. On the
/external/{customer_external_id}
form, the existing externalId is in the path instead.Request body
The new external identifier. Must be unique across all customers
on the deployment.
Examples
Response
200 OK returns the updated customer object.
Errors
| Code | When |
|---|---|
invalid_argument | externalId missing or empty |
not_found | No customer with that ID |
aborted | A different customer already has the requested externalId |

