Looking for best practices for this.
The API has changed a lot and it’s not well documented what all the fields discount fields are for.
Does anyone have a suggestions?
Looking for best practices for this.
The API has changed a lot and it’s not well documented what all the fields discount fields are for.
Does anyone have a suggestions?
Hi @Piam !
There is a field on the Order resource called current_total_discounts. It’s succinctly described in the docs as:
The current total discounts on the order in the shop currency. The value of this field reflects order edits, returns, and refunds.
Thanks for your help!
I had a hard time finding the solution, it turns out the first time you open the page, it only shows a few fields. To access all the fields, you need to click “Show 67 hidden fields” and then it becomes searchable.
That small UX decision caused me some headaches, but I’m glad we found the solution.
Thank you again!