I’m trying to make a change to a customer when they are removed as a company contact. I’m listening for the company_contacts/delete webhook. Per the docs (which this form will not let me link) this includes the customer ID although I suspect this is an error in the docs since the actual data I receive has only the CompanyContact ID and generally delete webhooks have minimal info.
How can I tell which customer, or even which company this was part of? By the time I get the webhook the CompanyContact has already been deleted so I can’t get the data that way.
This is expected for deletion webhooks as you mentioned they generally have minimal data.
I was testing some other webhooks (customer updates and company update) and these don’t trigger when removing a company contact, only with additions.
I’d like to dig in more to your specific use case to see what else can be done. Would you be able to share a little bit about the context on how you’re using this webhook or needing to know the specific customer/company that removed a contact? This will help me test other options and better communicate feature requests to our product teams if an option doesn’t exist.
We’ve run into this same exact limitation. We were hoping to use company_contacts/delete in a similar fashion, where we would be able to read customer_admin_graphql_api_id in the payload and react to it.
In our case, this would be to control customer tags and data in third-party platforms. But unfortunately, even on 2026-07 webhook subscription, the payload is returning:
A year on from this original post, is there any solution here?
At the very least, I think the shopify.dev payload example documentation should be updated to reflect customer_admin_graphql_api_id always being null here.