Hi SH API Developer Community,
we setup multi-currency feature in SH and now we would to connect it via middleware into our ERP system. We actually encountered an issue with combination of Cart Discount and Line level item discount. Basically, when there is a combination of cart discount and line level discount, we are not able to get a Cart discount amount in foreign currency ("discount_Codes").
The Json contains it only in Base Currency of Shopify Store. Could you let me know which field should be used for Cart Discount in Foreign currency? The exchange rate cannot be used as well because the exchange rate differs in the Json that it is used in the front-end of the order so the amounts are then different.
Any ideas would be appreciated here.
Thank you in advance.
If you utilize the GraphQL API, then there are two fields --- shop money (the default currency type for the shop) and presentment money (the currency type used for the payment). Maybe this can help?