I'm trying to create a deal with the deals API, for some reason a deal is not getting created
SOLVE
I'm integrating the code via Zapier. I am unable to create a deal.
The code for the same is:
var email = inputData.email;
var postcode = inputData.postcode;
var solar = inputData.solar;
var isbusiness = inputData.isbusiness;
var dealname = inputData.dealname;
var pipeline = 'default';
var dealstage = '8db57d1b-7daa-451d-b242-89450ea3e1b3';
I'm trying to create a deal with the deals API, for some reason a deal is not getting created
SOLVE
Hi Carol,
Happy to help here. Can you let me know what response (if any) you are getting back when you attempt to hit that endpoint? One thing I've noticed is that the API key specified is "demo" which would not create a deal in the portal you are working from. You should use the API key tied to the specific portal.
If you're getting a 200 response then likely all you'll need to do is replace "demo" with your own hapi key. If you're getting a 4xx error then can you pass on the specifics and we can try and figure out the root cause.
Information on finding your portal HAPI key can be found here:
I'm trying to create a deal with the deals API, for some reason a deal is not getting created
SOLVE
Hi Jack,
I have added my API key. I didn't add it here, coz of security reasons. Surprisingly, there is no error code and when I do a console log, it outputs nothing(empty). Could you have this resolved today please?
I'm trying to create a deal with the deals API, for some reason a deal is not getting created
SOLVE
Hubspot sets up internal property values for deal dealstage and pipeline. Is it because of that? The internal property for dealstage is 8db57d1b-7daa-451d-b242-89450ea3e1b3. The label value is Sign up started. I used both, it still does not work. Could you test with pushing the same deal values?