Per documentation here: https://docs.clover.com/dev/docs/working-with-orders#
The quantity is not taken into the calculation.
Checked the API https://docs.clover.com/dev/reference/ordercheckoutatomicorder
I tried using unitQty property (with price type PER_UNIT).
But with the same issue, the value is ignored.
Not sure which documentation is the correct one, but both are not working.
Also passing "groupLineItems" doesn't grouping similar items.
OK I missed that groupLineItems only grouping the line items in the receipt, not in the response.