`profiles/update` webhook being triggered inconsistently

Given Shopify is not actually exposing the internal offersShipping property of the Location model, it seems that our only option is to compute it based on the other public properties we have access to. See this thread in X with Tobi.

To do so, we need to check whether a Location has active shipping rates.

In order for our app to stay in sync with these rates we need to subscribe to the different webhooks associated to the deliveryProfiles lifecycle.

This is where trouble comes.

I cannot find any logic in how the profiles/update is being triggered. It is happening so inconsistently.

No matter if you update a deliveryProfile via the Shopify Admin Dashboard or a GraphQL mutation (and no matter what property you update) the result is the same:

  • Some times it will send the profiles/update webhook but most of the time it will not
  • Most of the time when sending the webhook it will send it duplicated

I cannot find any logic related to the associated Location or the deliveryProfile properties that would impact this behavior. Sometimes I manage to have like 2 or 3 updates in a row triggering the webhook emission successfully, making me think that it is actually working. Then suddenly, subsequent updates do not trigger anything.

My only guesses would be:

  • There is an issue with these webhooks
  • These webhooks are subject to some undocumented rate limits

Has anyone encountered such issue with deliveryProfile webhooks ? Am I missing something ?

NB: Every other webhooks our app is relying on are working properly.

Hi @aurelienqsw

Thanks for describing this challenge - I’m connecting with internal teams on this to see what the best approach would be here.

1 Like