cURL
curl --request PUT \ --url https://api.rntor.com/v1/visitors/visits/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Client-ID: <api-key>' \ --data ' { "visitor_first_name": "<string>", "visitor_last_name": "<string>", "visitor_email": "[email protected]", "visit_date": "2023-12-25", "status": "<string>", "notes": "<string>" } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "visitor_first_name": "Jane", "visitor_last_name": "Smith", "visitor_email": "[email protected]", "host_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "visit_date": "2024-01-15", "check_in_time": "2023-11-07T05:31:56Z", "check_out_time": "2023-11-07T05:31:56Z", "status": "scheduled", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Update an existing visit
Your API client secret
Your API client ID
Visit updated
Show child attributes