Customer segment deleted webhook not available

Shopify Partner
3 0 0

Our app was previously listening to the `customer_groups/delete` webhook which was based on customer saved search ids. 


The recent forced upgrade to API version 2022-04 results in usage of this saved search id being deprecated in favour of the customer segment id.


I was informed by my colleague that the `customer_groups/delete` webhook does not get triggered when anyone deletes a customer segment. 


Is there a corresponding webhook I can listen to whenever a customer segment is deleted?

Replies 3 (3)

Shopify Partner
1 0 0

Hey @timothyt 


You will need to subscribe via the GraphQL API using the new topic here:



Shopify Partner
3 0 0

It's referred to in the graphql documentation however when you try to subscribe the response is:

{ errors: 'Could not find the webhook topic segments/delete' }


Shopify Staff
1415 231 484

Hey @ActionHub - one common reason this can happen is if your app doesn't have the necessary read_customers scope. We've got a guide here on how to request new scopes and I'd also check this doc on our new protected customer data policy as it could be affecting access to customer-related resources in the API if you haven't requested access via your partner dashboard either. 


Hope this helps!


Al | Shopify Developer Support 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog