cURL
curl --request PUT \ --url https://api.example.com/api/companies/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Updated Company Name", "email": "Updated Company Email", "latitude": 52.520008, "longitude": 13.404954 } '
{ "message": "<string>", "data": { "id": 123, "user_id": 123, "name": "<string>", "email": "<string>", "latitude": 123, "longitude": 123 } }
Enter your JWT token in the format 'Bearer '
Company ID
"Updated Company Name"
"Updated Company Email"
52.520008
13.404954
Company updated successfully
Show child attributes