Hubspot Deal API - Make update without Hubspot ID?
resolver
I have a quick question I'd like to run by you all. I have an ERP system that will contain a Shopify ID as the primary key. Can I push this record into the Hubspot API and update a Deal status with the matching Shopify ID (that will be also in Hubspot deal record)?
Or do I need the Hubspot ID to update the Deal status? Please let me know thanks!
Hubspot Deal API - Make update without Hubspot ID?
resolver
Shopify is not part of this integration, therefore we are not able to use the Shopify - > Hubspot integration as part of the solution.
Here's the arch diagram. I need to update Hubspot directly from an ERP system. I would like to update the Hubspot Deal with a shipping status sent from the ERP. The ERP does not have the Hubspot ID, therefore it won't be able to update the deal using Hubspot ID. Both systems have a Shopify ID from the transaction from Shopify.
The best way is to fetch the data via the Search API by your property to fetch the Hubspot ID and after that update the Deal by with the ID fetched by Hubspot Search.
Hubspot Deal API - Make update without Hubspot ID?
resolver
Yes on that scenario is my anwser based..
First use the Search API from Hubspot to search for a Deal with property ShopifyId; If that one finds some records, it can return the ID's of the Deals. Then you can use this ID's in the Deals API to udpate the Record with the values from your ERP system.
But what if there are more deals with the same ShopifyId in Hubspot? Do you have a check for that?