Using the admin order API we are able to get basic order data such as order ids, net sales, totals sales, tax & shipping.
But we’re missing crucial information that we want to get with our orders:
- Coupon code (if used)
- Coupon discount (if coupon used)
- Items (which items are sold in the order based on order ID)
Which endpoints do we need to connect to, to get the above information?
Also is there an endpoint like ‚order‘ to get return information, such as return amount, items returned with dates.
Would like to hear from the community!
Thanks in advance.