ActivityTypes

Update an activity type

Changed on

Updates an activity type.

put/activityTypes/{id}

Request

  • Base URL
    https://api.pipedrive.com/v1
  • Auth
    • API key in header x-api-token
    • or OAuth 2
      Authorization code: https://oauth.pipedrive.com/oauth/authorize
      Token URL: https://oauth.pipedrive.com/oauth/token scopes: admin

Path parameters

idinteger required

The ID of the activity type

Request body

namestring

The name of the activity type

icon_key'task' | 'email' | 'meeting' | 'deadline' | 'call' | 'lunch' | 'calendar' | 'downarrow' | 'document' | 'smartphone' | 'camera' | 'scissors' | 'cogs' | 'bubble' | 'uparrow' | 'checkbox' | 'signpost' | 'shuffle' | 'addressbook' | 'linegraph' | 'picture' | 'car' | 'world' | 'search' | 'clip' | 'sound' | 'brush' | 'key' | 'padlock' | 'pricetag' | 'suitcase' | 'finish' | 'plane' | 'loop' | 'wifi' | 'truck' | 'cart' | 'bulb' | 'bell' | 'presentation'

Icon graphic to use for representing this activity type

colorstring

A designated color for the activity type in 6-character HEX format (e.g. FFFFFF for white, 000000 for black)

order_nrinteger

An order number for this activity type. Order numbers should be used to order the types in the activity type selections.

Response

The activity type was successfully updated

successboolean

If the response is successful or not

Changes

    • breaking

      the // response's property format changed from datetime to date-time for status

    • breaking

      the // response's property format changed from datetime to date-time for status

    • breaking

      removed the media type application/x-www-form-urlencoded from the request body

    • info

      added the media type application/json to the request body