Ecommerce Bridge API Delete CONTACT with external ID

Documents suggest we can batch send messages of DELETE and UPSET for PRODUCT, CONTACT, DEAL, LINE_ITEM
But DELETE of CONTACT never works with our external ID. The only way I can delete a contact is using the ID provided by Hubspot and then using the contact API instead of eCommerce bridge. The issue with this is that when creating contacting using commerce bridge there is no returned ID.
This means the documentation suggests it’s possible but in practice, it’s not.
Would be good if someone could confirm this.

@himanshurauthan , do you have any advice here?

Hi @DSanderson,

Yes, this is a known limitation of DELETE, as documentation also clearly mentions that the DELETE action type will not remove the object from HubSpot, it will prevent it from syncing in the future.

Regards,

But that is also a false statement because I can still sync a product after it’s deleted.
The solution I created was to search for the contact via email and then delete the contact via the returned VID.
It seems the documentation needs some work on its clarity.

Yes, if you want to delete the object from HubSpot, you have to find the object id, and then you can call the delete endpoint.

I agree with you, the documentation needs some updates and the v3 endpoint is under development, so we might expect a better flow or documentation for the same - Accounts Dashboard | HubSpot.