PATCH
/
api
/
2023-01
/
tasks
/
{id}
curl --request PATCH \
  --url https://api.buildr.com/api/2023-01/tasks/{id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task": {
    "title": "Review initial budget",
    "assigned_to_id": "953",
    "contact_id": "144",
    "opp_id": "787",
    "checklist_items": [
      "<any>"
    ]
  }
}'
{
  "task": {
    "id": "921",
    "created_at": "2023-02-14T18:13:00Z",
    "updated_at": "2023-04-03T20:16:30Z",
    "title": "Review initial budget",
    "notes": "High-level, not detailed",
    "completed_at": "2023-07-28T12:00:00Z",
    "deadline": "2023-08-01",
    "checklist_items": [
      {
        "id": "827",
        "created_at": "2023-02-14T18:13:00Z",
        "updated_at": "2023-04-03T20:16:30Z",
        "name": "Plan time to meet for discussing budget",
        "position": 1,
        "completed_at": "2023-07-25T12:00:00Z"
      }
    ],
    "assigned_to": {
      "id": "953",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "first_name": "Russell",
      "last_name": "Westbrook",
      "name": "Russell Westbrook",
      "email": "russell.westbrook@example.com"
    },
    "created_by": {
      "id": "953",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "first_name": "Russell",
      "last_name": "Westbrook",
      "name": "Russell Westbrook",
      "email": "russell.westbrook@example.com"
    },
    "contact": {
      "id": "418",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "first_name": "Austin",
      "last_name": "Reaves",
      "name": "Austin Reaves",
      "email": "austin.reaves@example.com"
    },
    "opp": {
      "id": "136",
      "created_at": "2023-02-14T18:13:00Z",
      "updated_at": "2023-04-03T20:16:30Z",
      "name": "Culver High Rise"
    }
  }
}

Headers

Authorization
string
required

Path Parameters

id
string
required

Body

application/json
task
object

Response

200 - application/json
task
object
required