Function to Edit activity type on pipedrive.
activitytypes.update(id, name = NULL, icon_key = NULL, color = NULL,
order_nr = NULL, api_token = NULL, company_domain = "api",
return_type = c("complete", "boolean"))
ID of the activity type
Name of the activity type
Icon graphic to use. Supported values: default, call, meeting, lunch, email, task, deadline. Additional supported values will be made available in the future.
A designated color for the activity type in 6-character HEX format (e.g. FFFFFF for white, 000000 for black).
An order number for this activity type. Order numbers should be used to order the types in the activity type selections.
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>
How to get the company domain: <https://pipedrive.readme.io/docs/how-to-get-the-company-domain>
the default return is an object List with all informations of process, or you can set boolean (TRUE = success, FALSE = error)
customizable return, the default is an object List
# NOT RUN {
activitytypes.update(id='e.g.',api_token='token',company_domain='exp')
# }
Run the code above in your browser using DataLab