Update a task
hostaway_update_taskUpdate a task — change its status (e.g. completed), reassign it, move its window, or add a resolution note. Send only the fields to change. Hostaway: PUT /v1/tasks/{taskId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | Task cost. | |
| color | No | Colour in hex, e.g. #FF8800. | |
| title | No | Task title. | |
| status | No | pending, confirmed, inProgress, completed or cancelled. | |
| taskId | Yes | Task id. | |
| priority | No | Priority. | |
| description | No | Task description. | |
| shouldEndBy | No | Deadline ("YYYY-MM-DD HH:MM:SS", UTC). | |
| canStartFrom | No | Earliest start time ("YYYY-MM-DD HH:MM:SS", UTC). | |
| costCurrency | No | Cost currency, e.g. USD. | |
| listingMapId | No | Listing id the task belongs to. | |
| categoriesMap | No | Categories: 1 cleaning, 2 maintenance, 3 check-in, 4 check-out, 5 back office, 6 other. | |
| reservationId | No | Reservation id the task relates to. | |
| assigneeUserId | No | User id to assign the task to. | |
| resolutionNote | No | Resolution note. | |
| costDescription | No | Cost description. | |
| supervisorUserId | No | Supervisor user id. |