activitytypes.update: Edit activity type

Description Usage Arguments Value Examples

Description

Function to Edit activity type on pipedrive.

Usage

1
2
3
activitytypes.update(id, name = NULL, icon_key = NULL, color = NULL,
  order_nr = NULL, api_token = NULL, company_domain = "api",
  return_type = c("complete", "boolean"))

Arguments

id

ID of the activity type

name

Name of the activity type

icon_key

Icon graphic to use. Supported values: default, call, meeting, lunch, email, task, deadline. Additional supported values will be made available in the future.

color

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

order_nr

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

api_token

To validate your requests, you'll need your api_token - this means that our system will need to know who you are and be able to connect all actions you do with your chosen Pipedrive account. Have in mind that a user has a different api_token for each company. Please access the following link for more information: <https://pipedrive.readme.io/docs/how-to-find-the-api-token?utm_source=api_reference>

company_domain

How to get the company domain: <https://pipedrive.readme.io/docs/how-to-get-the-company-domain>

return_type

the default return is an object List with all informations of process, or you can set boolean (TRUE = success, FALSE = error)

Value

customizable return, the default is an object List

Examples

1
activitytypes.update(id='e.g.',api_token='token',company_domain='exp')

Rpipedrive documentation built on May 15, 2019, 1:06 a.m.