Send the data of placed order into logistics API with the help of Shopify orders Webhook

Shopify Partner
4 0 0

Hey there,

I want to send the data of the placed order to the Logistics API with the help of the Shopify Create Orders webhook.

I am working on a node and express template of Shopify. 

Here is my code for getting data of the placed order. Whenever I click on the send test button of the Shopify store, the terminal shows me a "Failed to process webhook: Error: Could not validate request HMAC" error message.

The demo data will show in the terminal whenever I hit the "npm run Shopify webhook trigger" command.

How do I send the data of an order to a third-party logistics API?






Replies 2 (2)

Shopify Staff
2731 302 783



It sounds like there's an issue with verifying the webhook's authenticity - it's possible that your shopify.processWebhooks method above is not set up correctly to validate the HMAC of the incoming request.

Liam | Developer Advocate @ 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 or the Shopify Web Design and Development Blog

Shopify Partner
4 0 0

Hi Liam,


I got this type of response when I console that stuff. and I am writing the code in the index.js file as a separate route.