Update Contact
Endpoint
[PATCH] https://usenotifier.com/api/contacts/174926c5-becf-4c56-a447-fbd9f6d99dcf
Example Request
$response = Http::withToken('YOUR_API_KEY')
->patch('https://usenotifier.com/api/contacts', [
"firstname" => "Jane",
"lastname" => "Smith"
]);
firstname: optional | nullable
The contacts firstname.
last name: optional | nullable
The contacts last name.
Example Response
{
"data": [
{
"uuid": "174926c5-becf-4c56-a447-fbd9f6d99dcf",
"firstname": "Jane",
"lastname": "Smith",
"created_at": "2022-09-20T10:24:48.000000Z",
"contact_methods": [
{
"uuid": "367b56e3-f8ab-4807-9cb8-9250a95f5386",
"type": "phone",
"address": "+447700900389",
"created_at": "2022-09-20T10:24:48.000000Z",
"updated_at": "2022-09-20T10:24:48.000000Z"
}
]
}
]
}
Last updated
Was this helpful?