Jul 15, 20221:54 AM - bearbeitet Jul 15, 20221:55 AM
Mitglied
Created deals return null properties
Hi team,
I was testing the Deals API and successfully created a new deal via Postman. However, all the properties returned are null.
This is the body:
{
"amount": "1500.00",
"closedate": "2022-12-07T16:50:06.678Z",
"dealname": "Custom data integrations",
"dealstage": "appointmentscheduled",
"hubspot_owner_id": "xxx",
"pipeline": "default"
}
I made sure that the "dealstage" and "pipeline" IDs are correct by checking the settings. I also tried setting "hubspot_owner_id" with my account id and owner id returned from /crm/v3/owners/, none of them worked.
I did not create a custom pipeline, just tried to add a new deal to the default pipeline (sales pipeline). I did remove some of the existing stages and renamed the first two (see image). The ID of the first stage is still "appointmentscheduled".