Update customer information
information
Customer data can only be updated by the entity that created them.
The following information can be updated:
- Customer ID (customerId);
- First name (firstName);
- Last name (lastName);
- Email (email);
- Phone number (phoneNumber).
1. Update the customer's phone number.
- Request
- Response
PUT /customers/{uuid}
{
"phoneNumber": "351#969876541"
}
{
"apiVersion": "1.0",
"date": "2021-12-07T18:01:19+10:00",
"success": true,
"data": {
"uuid": "e2343605-cf46-43de-b20b-9b7d1c95a9b2",
"customerId": "1",
"firstName": "José",
"lastName": "Silva",
"email": "jose.silva@email.com",
"phoneNumber": "351#969876541",
"createdAt": "2021-12-07T18:01:19+00:00"
}
}