with a paramater of “action”: “UPSERT”. In the new API CRM I’m using https://api.hubapi.com/crm/v3/objects/deals. It appears I need to know if the deal exist as I need to use a Post to create one or a Patch to update one. Can I execute a GET based on a custom property instead of the deal ID. So far I haven’t been able to find a why to preform this
Thank you for your response. I’m entering this CURL data command
--data ‘{
“filterGroups”: [
{
“filters”: [
{
“propertyName”: “abandon_email_address”,
“operator”: “EQ”,
“value”: [angelo.emmi@gaylord.com ]
}
]
}
],
“sorts”: [
“abandon_email_address”
],
“limit”: 20,
“after”: 0
}’
And I’m receiving this response
{“status”:“error”,“message”:“Invalid input JSON on line 9, column 15: Cannot deserialize value of type `java.lang.String` from Array value (token `JsonToken.START_ARRAY`)”,“correlationId”:“ac8a45b4-86e6-456e-844c-16b9d89693cd”}
Any suggestions on how to correct this issue