Oct 7, 2020 11:14 AM
Hi im trying to automate the deals creation whenever a user fills the quote form on my ecommerce.
Im using the api at https://developers.hubspot.com/docs/api/crm/deals
To be more presice my testing POST api call body is:
Oct 8, 2020 2:10 PM
hi @martinspasov ,
The code you provided appears to be incomplete.
I tested on my portal with this code and successfully created a deal
{
"properties": {
"amount": "1500.00",
"closedate": "2021-12-07T16:50:06.678Z",
"dealname": "api_work_deal",
"dealstage": "appointmentscheduled",
"hubspot_owner_id": "48843399",
"pipeline": "default"
}
}
Wanted to confirm that you are wrapping all of those properties in the properties object
Thanks!