App reviews, troubleshooting, and recommendations
I have created the public app. I am able to make authorization.
Now i have to register web hook for public app. According to documentation for public app i have to register webhook via API not via shop admin.
Now the issue is what will be the end URL to post and regiter webhook for order/create. As i know for private app we have to post at shop/admin.
That is https://xxxxxxx.myshopify.com/admin/api/2020-10/webhooks.json
But unable to get URL for Public API POST.
That is what will be in place of xxxxx in this url for public app https://xxxxxxx.myshopify.com/admin/api/2020-10/webhooks.json
Solved! Go to the solution
You can try removing the version and calling /admin/webhooks.json instead
@Cannesis : What should be the URL/domain before ... /admin/webhooks.json. Is it will be shop URL or something specific or common for all shop as we are creating Public app.
I have created the webhook successfully.
{
"webhooks": [
{
"id": 964960125084,
"address": "https://test.test.test/drop-servicing/shophify/webhook/create/order",
"topic": "orders/create",
"created_at": "2020-12-22T02:01:57-05:00",
"updated_at": "2020-12-22T02:01:57-05:00",
"format": "json",
"fields": [],
"metafield_namespaces": [],
"api_version": "2020-07",
"private_metafield_namespaces": []
}
]
}
But I am not getting response from my test store webhook, when order is created using test payment gateway.
What could be the reason?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025