Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

query parameters in webhook address

query parameters in webhook address

niraizik
Visitor
1 0 0

Hi,

Does webhooks support query parameters in address field ?
something like this

POST /admin/api/2021-01/webhooks.json
{
  "webhook": {
    "topic": "orders/create",
    "address": "https://whatever.hostname.com?query1=value1&query2=value2",
    "format": "json"
  }
}
Reply 1 (1)

mikedasilva
Shopify Staff (Retired)
61 7 13

Hi @niraizik 

Yes, that should be supported. You can try posting that and then calling the same API (with GET) to retrieve your subscriptions to ensure the data matches what you expect.

Cheers

 

To learn more visit the Shopify Help Center or the Community Blog.