Hubspot Deal API pipeline returns null

Hi hubspot community,
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.

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);

});

hey @SDaniels7

are you getting any error in the catch log ?

I’m not getting any error, I get a success response and the deal gets created.

The only issue is that pipeline value is null.

Hi @dennisedson ,
I’m also getting the same issue. How to solve this?

@SDaniels7 @MPrasad9 Are you sure your pipeline id is correct? Note that the name of the pipeline might be different from the pipeline id.
You can check your pipeline id under “Settings” > “Deals” > “Pipelines” > Click on </> beside the pipeline name to look at its id.
For example, the Sales Pipeline below has the id “default”.

I’m having the same problem. I get the “pipeline”: null even if I have the correct id. Any suggestion?

Hi @ErickAndSan did you get this issue sorted? if yes what did you do?
Thanks