Multiple subscription to webhook using same app

Solved
Highlighted
Tourist
4 0 0

Is it possible to create multiple subscriptions to webhooks (e.g. 2 orders/create webhooks) using the same app? Or will it create conflict and not fire in one of the destinations?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1028 138 160

Hey @spriteNOice 

Each app can only register one webhook per topic.

1 Like
Highlighted
Tourist
4 0 0

@scottydont I was able to have 2 orders/create webhooks when trying to register a new one. Also confirmed both destinations are receiving the payload, why is it allowed to register a new webhook for the same topic if it exists already?

0 Likes
Highlighted
Shopify Staff
Shopify Staff
4 1 2

This is an accepted solution.

hi @spriteNOice ,

I think @scottydont just left out a detail on the uniqueness constraints. You can only have 1 subscription per topic + address + format combination. Therefore, you can actually have multiple for the same topic as long as the destination address is different. I think this is what you are looking to do and tested.

Cheers

1 Like
Highlighted
Tourist
4 0 0

@mikedasilva Yes that’s it! Thank you guys for helping me out!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1028 138 160

Whoops nice catch! Thanks @mikedasilva 

1 Like