Discussing APIs and development related to customers, discounts, and order management.
Hey everyone!
We have a Shopify app helping merchants to create discounts.
To be able to apply discounts at checkout, we use draft orders.
To track the usage of the discounts, we need to link paid orders to the original draft orders.
Until now, we did this using the orders/paid webhook and the field "landing_site", which contained the invoice id of the draft order. But it seems that, for a few weeks, this field doesn't contain the invoice id anymore.
Is there another solution to link paid orders to their original draft order?
Solved! Go to the solution
This is an accepted solution.
You can pass your invoice value in note_attribute [cart attribute].
This is an accepted solution.
You can pass your invoice value in note_attribute [cart attribute].
Hey, thanks for the advice! I had tried with the metadata but they were not added to the order. With note_attribute it works 🎉
Thank you!