Set event status
Move an event to Prospect, Tentative, Definite, Closed or Lost.
PUT https://cotlet.dev/api/v1/tripleseat/events/{event_id}/status
Changes the status, the same as Edit and Update on the event. Tentative and Definite hold the room, Closed ends editing, and Lost frees the room and keeps communication and documents. Lost takes an optional lost_reason; the reasons are the ones in Settings > Preferences > Dropdowns. Your user role needs the permissions for it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| event_id integer required | integer | Event ID from list_events. |
| status string required | string | Prospect, Tentative, Definite, Closed or Lost. |
| lost_reason string | string | Only for Lost. A reason from your Lost Reason dropdown. |
Request
curl -X PUT https://cotlet.dev/api/v1/tripleseat/events/5528840/status \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"Closed"}' result = client.call("tripleseat", "set_event_status", {"event_id":5528840,"status":"Closed"}) const result = await cotlet.call('tripleseat', 'set_event_status', {"event_id":5528840,"status":"Closed"}); cotlet call tripleseat set_event_status --data '{"event_id":5528840,"status":"Closed"}' Example response
{
"event_id": 5528840,
"name": "Alvarez rehearsal dinner",
"status": "Closed",
"previous_status": "Definite",
"amount_due": 0
}