Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How can I send additional information along with order data to my Shopify order webhook?

How can I send additional information along with order data to my Shopify order webhook?

user072319
Shopify Partner
131 0 17

I have a Shopify live app and have already created order/create webhook. How can I send additional information along with order data to my Shopify order webhook?

 

For example, I have a script included in our app client's order confirmation page, I want to send some custom data from order confirmation page along with the Shopify order webhook data. How can I do this?

 

Thanks in advance

Reply 1 (1)

Liam
Community Manager
3108 344 892

Hi User072319,

 

Webhooks are a one-way communication mechanism from Shopify to your app. Shopify webhooks only include information that Shopify has about the order, and you cannot include additional information from other sources.

 

Have you explored using metafields to add additional information to an order? The information stored in the metafield will then be included when the order is sent to your webhook.

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 Shopify.dev or the Shopify Web Design and Development Blog