The "selling_plan_groups/update" webhook does not appear to be firing when adding/removing products/variants

My app is subscribed to the “selling_plan_groups/update” webbook but it does not receive posts when when the selling plan group is being updated (i.e. adding/removing a product or product variant from either the Product’s page in the store or the graphql mutations).
It does post when the “sellingPlanGroupUpdate” graphql mutation is called directly. Does anyone else have this problem? Is there another way to be notified when products/variants are added/removed from SellingPlanGroups?

1 Like

We have the same issue, unfortunately. So far we haven’t found a workaround.

Thank you for sharing. Our team at Shopify has taken a look at this and created an issue in our team’s backlog. We will follow up here when the issue has been resolved.

2 Likes

We have the same issue, unfortunately. So far we haven’t found a workaround.
I want to trigger a webhook when someone(shopify store admin) added an existing Purchase option or delete Purchase option .

Ran into this today as well. Users are able to modify selling plans in the Shopify admin but we don’t currently have any way to sync those changes to our system without polling all the selling plan groups periodically.

Thanks for the feedback, all. This was fixed and webhook notifications are now being sent for the following selling plan mutations:

  • sellingPlanGroupAddProducts
  • sellingPlanGroupAddProductVariants
  • sellingPlanGroupRemoveProducts
  • sellingPlanGroupRemoveProductVariants
  • productJoinSellingPlanGroups
  • productVariantJoinSellingPlanGroups
  • productLeaveSellingPlanGroups
  • productVariantLeaveSellingPlanGroups

Now that the functionality has changed. Is there any way for us to disable that webhook triggering? It’s been broken for so long that we ended up building an internal system to sync several areas of our app, and this blew up because of the amount of notifications.

Also, you may want to change whatever your AI assistant had as part of the knowledge because if you ask if the webhook is triggered when a product is added responds with this:

Thanks for reaching out, @AgCig! To disable webhooks for selling plan updates, you can unsubscribe from the selling_plans_group/update topic and redeploy your app. Instructions on how to make that configuration update can be found here.

I think my question was misunderstood. I was asking if there was any way for us to not get a webhook whenever a product is added/removed but still get them when any of the other selling plan attributes were modified. In any case, we were getting hammered with those notifications so we ended up patching our code to reduce the changes to a minimum so this is no longer an issue.