Webhook called multiple times(Duplicate)

JasperBrnJasperBrn Member Posts: 3

Hi,

for our customer we are creating an integration with a third-party application. We came across the issue that our webhook is sometimes triggered multiple times(duplicates)(See screenshot) In our other screenshot you can view the webhook. How can we fix this?



Tags:

4 comments

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 322 moderator

    Looking at your screenshots, I see that you have setup a webhook for the itemGroup: customers and itemAction wildcard(*).

    The wildcard action will send you all the events related to customers. You could have a look to see if you can specify the webhooks actions more to prevent getting the same information. For example; set the action "created" or "updated" instead of wildcard which will send a webhook for both events.

  • JasperBrnJasperBrn Member Posts: 3

    Thank you for the response, we will try

  • JasperBrnJasperBrn Member Posts: 3

    Hi Ali_Masoumie,

    We tried as suggested(see screenshot) but we are still facing the duplicate calls issue. Is there something else we can do?


  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 322 moderator

    Hi,

    I just sent you a PM.

Sign In or Register to comment.