GraphiQL Orders Discounts

Highlighted
Tourist
16 0 0

We are using GraphiQL to fetch orders.

The discounts data is not fit to the UI reports.

 

one order for example,

API discounts - 29,980

UI discounts - 25,193.27

 

The other numbers, like taxes and total sales are fit -> it is not a currency difference.

 

The same results with totalDiscountsSet node and cartDiscountAmountSet node.

 

Please help me to explain the difference.

0 Likes
Highlighted
Tourist
16 0 0

Jumping

0 Likes
Highlighted
New Member
8 0 0

I have the same problem with the REST Admin API. For some orders, I don't get the exact same discount amount. Did you find a solution?

0 Likes