I have set the following properties up in my account in Deal Object and Contact Object. Just trying to map the properties at this point to use the sync-message api call.
I was able to import them if I change enabled to false, but that just makes them show up in the GET https://api.hubapi.com/extensions/ecomm/v1/settings not enabled. Any help would be great!!
Request:
POST https://api.hubapi.com/extensions/ecomm/v1/settings
{
"enabled": true,
"importOnInstall": false,
"contactSyncSettings": {
"properties": [
{
"propertyName": "my_code_first",
"dataType": "STRING",
"targetHubspotProperty": "my_code_first"
},
{
"propertyName": "my_code_last",
"dataType": "STRING",
"targetHubspotProperty": "my_code_last"
}
]
},
"dealSyncSettings": {
"properties": [
{
"propertyName": "my_code",
"dataType": "STRING",
"targetHubspotProperty": "my_code"
}
]
}
}
Response
{
"status": "error",
"message": "Missing required DEAL targetHubspotProperties : [dealstage]",
"correlationId": "3e914933-e2a4-408a-b448-cc57944b025d11",
"requestId": "902ef915-7bb2-4715-904c-f8fee4ffd04411"
}
