Shopify webhook REST API is not working

Hi,

I was trying to configure my webhook end-point for product/update event using a POST request to the https:///admin/api/2022-01/webhooks.json with the JSON body :

{
“webhook”: {
“topic”: “products/update”,
“address”: “”,
“format”: “json”,
“metafield_namespaces”: [
“my_fields”
]
}
}

I’m getting 200 OK as response but in response body I’m not getting any meaningful data. Instead I’m getting an XML

Continue

Hey Moin,

The most likely cause is that you haven’t the required permissions to subscribe to that topic. I believe you’ll find the next steps to unblock you in the documentation on authentication.

Cheers,
Jerome