Hi there,
Fairly new to the API in general. At the moment I'm testing out adding tags and data tags to parties. I'm using curl to test, but will eventually translate into a webhook via Zapier.
How do I add tags and data tags to parties? I know you update parties using PUT, but I can't figure out the actual code.
curl -i -X PUT -H "Authorization: Bearer {Token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"party": [ {
"tag": {
"name": "Prospect"
} ]
}'
https://api.capsulecrm.com/api/v2/parties/123
--
What am I getting wrong here? I have a tag/data tag called 'Prospect' that I want to add via the API.
I also want to add
Data tag: "Prospect"
Field: "Main product of interest": "Interest"