Skip to content

Update an Activity

PUT https://api.copper.com/developer_api/v1/activities/{{update_activity_id}}

Request body

1
2
3
4
{
  "activity_date": 1496772351,
  "details": "This is the updated description of this note"
}

Example Requests

Update a Note

1
2
3
4
5
6
7
8
9
curl --location --request PUT "https://api.copper.com/developer_api/v1/activities/{{update_activity_id}}" \
  --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
  --header "X-PW-Application: developer_api" \
  --header "X-PW-UserEmail: YOUR_EMAIL_HERE" \
  --header "Content-Type: application/json" \
  --data "{
  \"details\": \"This is the updated description of this note\",
  \"activity_date\": 1496772351,
}"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
  "id": 3064242278,
  "parent": {
    "id": 27140359,
    "type": "person"
  },
  "type": {
    "id": 0,
    "category": "user"
  },
  "user_id": 137658,
  "details": "This is the updated description of this note",
  "activity_date": 1496772351,
  "old_value": null,
  "new_value": null,
  "date_created": 1496772355,
  "date_modified": 1496772355
}