Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi there,
I am trying to subscribe to receive orders/created requests but for some reason I keep getting the same error:
{
"errors": "You do not have permission to create webhooks with orders/create topic"
}
Even though the error is straightforward I don't understand what I am missing because when I created my access token it shows that I have write_orders scope and that should allow me to create webhooks, right ?
This is the request I am sending to create the webhook:
{
"webhook": {
"topic": "orders/create",
"address": "myaddress",
"format": "json",
"fields": [
"note",
"total_price",
"currency",
"order_number",
"shipping_address",
"customer",
"line_items"
]
}
}
Can anyone help me understand why I am getting that error ?
Thanks,
Gian.
Spent the entire day looking for what this issue could be and apparently Shopify's team need the request id to investigate so here is one of them: X-Request-ID: a22d4a27-52d7-4278-b623-eb4830e3b7c7
Hi Gianf, I've looked up the request ID and I have more info to share on this, I'll private message you the details
mrad | Developer @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog