Getting webhook response body using node.js

Shopify Partner
7 0 1

I've registered an 'orders/create' webhook in my app and it fires correctly, but I'm having trouble getting the order data from the response. I've tried multiple ways that I've seen here and there, I've tried using express'  json and bodyParser method, but without the documentation providing an example I'm a bit lost."/api/foobar", async (req, res) => {
    try {
        console.log('response:', req.body);
        res.json({requestBody: req.body});



Also tried just dumping both `req` and `res` but they don't seem to contain any of the order info.


My fields registered to the webhook are the following:


webhook.fields = [


Reply 1 (1)

Shopify Partner
1 0 0

I'm looking for the same information, did you figure it out?