We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 21, 2018 9:49 AM
Hi Team,
I have a couple of questions and a comment.
I'll first start with the comment :
integratorObjectId
. It seems "technically" correct but not a great experience for developers. We should be able to send the same sync-message to recreate a deleted contact/deal.Question on line item sync :
2. Currently we are experiencing issues with associate line items to a deal. Even though we send a sync-message to associate line items, we are not able to see them on the deal record in HubSpot. This is for portal ID : 672818
[
{
"integratorObjectId": "LL21052018309",
"action": "UPSERT",
"changeOccurredTimestamp": 1526898273,
"propertyNameToValues": {
"deal_id": "o21052018335",
"quantity": "2",
"product_id": "P21052018334"
}
}
]
This feature was working last week, we are currently investigating this issue on our end. Do you know if there are any known issues around line items sync ?
Question on sync message validation :
3. Say, the property mappings for my contact/deal is as below
"contactSyncSettings": {
"properties": [
{
"propertyName": "field1",
"dataType": "STRING",
"targetHubspotProperty": "name"
},
{
"propertyName": "field2",
"dataType": "DATE",
"targetHubspotProperty": "contacted_date"
},
{
"propertyName": "field3",
"dataType": "STRING",
"targetHubspotProperty": "city"
}
]
}
What happens if I send a sync-message as below
"propertyNameToValues": {
"field1": "Udaya",
"field2": "some text instead of date",
"field3": "more text",
}
Should this message be rejected as soon as I do a PUT request to /sync-messages endpoint ?
Jun 4, 2018 10:24 AM
Hi @udayapitchika,
Thanks for your patience here. I'll try to address your questions separately, and in order: