Unable to create a webhook

gianf
New Member
3 0 0

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 ? 

gianf_0-1628557076324.png

 

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. 

Replies 2 (2)
gianf
New Member
3 0 0

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-IDa22d4a27-52d7-4278-b623-eb4830e3b7c7

mrad
Shopify Staff
Shopify Staff
59 8 13

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