I have an issue with the draftOrderCalculate mutation as it always returns availableShippingRates in the store’s currency despite inputting different currency on the presentmentCurrencyCode field. This occurs on the latest API version - 2022-10.
My store’s default currency is USD. I’m providing PLN as the presentment currency.
Mutation input:
mutation CalculateDraftOrder($input: DraftOrderInput!) {
draftOrderCalculate(input: $input) {
calculatedDraftOrder {
availableShippingRates {
title
handle
price {
amount
currencyCode
}
}
presentmentCurrencyCode
}
}
}
My response:
{
"draftOrderCalculate": {
"calculatedDraftOrder": {
"availableShippingRates": [
{
"title": "Poland",
"handle": "shopify-Poland-8.07",
"price": {
"amount": "8.07",
"currencyCode": "USD"
}
}
],
"presentmentCurrencyCode": "PLN"
}
}
}
And this is my setup for shipping on the Poland market:
The price is 40 PLN, yet I’m getting the 8.07 USD in the API response.
