APIs & Integrations

ALeonsins
Participant

"Create batch deals" API not showing on HubSpot

I am importing 5 deals using the following endpoint: https://api.hubapi.com/crm/v3/objects/deals/batch/create?hapikey={key}


The response of the above endpoint is 201:

 

{
"status": "COMPLETE",
"results": [],
"startedAt": "2021-07-28T15:51:06.133Z",
"completedAt": "2021-07-28T15:51:06.133Z"
}

 

However, the deals are not showing in HubSpot.

 

Any idea what the issue could be?

2 Replies 2
ALeonsins
Participant

"Create batch deals" API not showing on HubSpot

Good day Himanshu,

Yes, I believe all the correct properties are in place. I have successfully imported one contact using the same property schema and the single create deal API.

0 Upvotes
himanshurauthan
Thought Leader | Elite Partner
Thought Leader | Elite Partner

"Create batch deals" API not showing on HubSpot

Hi @ALeonsins,

 

Can you please make sure that deal has - name, amount, and most important deal stage in the post data to create the deals?

 

If you have that all, then please check in the respective pipeline and deal stage.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology