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.

Understanding the shape of webhook response data

Understanding the shape of webhook response data

Meghankh
Visitor
1 0 0

Hello!

I am trying to understand what data is available to get off the checkout updated webhook. I'm looking here which only shows an example of what the data can look like. It doesn't give a clear picture of what the shape of some fields looks like (discounts_codes). Do these webhooks directly map to an object that I can look at that gives more detail on what the data can and will look like? If not, what can we expect the data to look like in the discount_codes field for the checkout updated webhook response? Would also like to know what it will look like for applied_discounts and discount_allocations under each line item. 

Thanks in advance!

Replies 0 (0)