'Pushing data on API wont go through
I'm using the hubspot V3 deal API to create a deal, the deal is being created successfully but it's pipeline property is not.
The problem with it's pipeline property is that it sets it to null, I have tried setting pipline value to, pipeline's name and pipeline's id but it returns null after deal is created.
API Endpoint docs - https://developers.hubspot.com/docs/api/crm/deals ( create )
axios.post('https://api.hubapi.com/crm/v3/objects/deals?hapikey={apiKEY}', {
"properties": {
"dealname": `test // hello`,
"hubspot_owner_id": `owner_id`,
"pipeline": "Cold Outbound"
}
})
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
