Update customer data
PUT /customers/{uuid}
The following information can be updated:
- Customer identifier (customerId)
- First name (firstName)
- Last name (lastName)
- Email (email)
- Phone number (phoneNumber)
1. Update the phone number of the customer.
- Request
- Response
PUT /customers/e2343605-cf46-43de-b20b-9b7d1c95a9b2
{
"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"
}
}
Note: Customer data can only be updated by the entity that created it.