Updating a Deal with the Deal Id


Hi, I need to update a deal with a shipping tracking number by using the Deal Update API. When I create a Deal using the Create Deal API it sends back status '200' if the Deal was created successfully but not the Deal Id itself. My question is how do I get the Deal number for a particular Deal without having to hard code it into the Update Deal API? It seems like that is the only way to update a Deal is by hard coding it into the API before sending it off toHubspot for the Deal to be updated.


Hi @cmartin19.

The response from the 'Create a deal' endpoint should include the deal JSON, which has the dealId: