Dec 19, 2018 4:55 PM
I am using Hubspot API to do some update to our CRM data. I did them sucessfully by calling API.
I am wondering, is there a "transaction" concept when I do more than one update together? For example, I create a contact for a company, then update a property of the company. If the second step fail, I want to revert the first step. What is the best way to do this?
Dec 20, 2018 2:01 PM
Hi @Kun_Lu, There's no built in property, per-se, that you could track that could enable you to do this. That said, you could use the response code that our server sends back as a condition in order to know if you should proceed, or delete your original contact. I'd say this is really your only feasible solution in this case.