SuggestedRefund does not work for multi-currency: ShippingAmountV2 required for multi currency orders

I’m trying to get suggestedRefund for a multi-currency order.

The query used:

query SuggestedRefund($id: ID!, $refundLineItems: [RefundLineItemInput!], $suggestFullRefund: Boolean, $refundShipping: Boolean, $shippingAmount: Money) {
  order(id: $id) {
    id
    suggestedRefund(refundLineItems: $refundLineItems, suggestFullRefund: $suggestFullRefund, refundShipping: $refundShipping, shippingAmount: $shippingAmount) {

      suggestedTransactions {
        amountSet {
            presentmentMoney {
                amount
                currencyCode
            }
            shopMoney {
                amount
                currencyCode
            }
        }
        maximumRefundableSet {
            presentmentMoney {
                amount
                currencyCode
            }
            shopMoney {
                amount
                currencyCode
            }
        }
      }
    }
  }
}

Variables:

{
    "id": "gid://shopify/Order/6642027790622",
    "refundLineItems": [],
    "suggestFullRefund": false,
    "refundShipping": false,
    "shippingAmount": 100
}

And the error is: ““ShippingAmountV2 required for multi currency orders.””.

But there’s no ShippingAmountV2 field anywhere, this type cannot be used for shipping amount, documentation does not tell anything about ShippingAmountV2 too

Please advise how to fix the issue. The same calculation works fine in REST API.

Hey @Siarhei_Karavai,

The shippingAmountV2 field isn’t available in the GraphQL API currently, which means for multi-currency orders you can’t provide a specific shipping amount. Instead, you’ll need to use the refundShipping Boolean parameter in your query, which will refund the full shipping amount for the order.

We’re aware of this limitation and are working on a solution, but I don’t have a timeline available for when shippingAmountV2 will be implemented. For now, the refundShipping Boolean is the recommended workaround for handling shipping refunds on multi-currency orders through GraphQL.

Well, we are using refundShipping as well, but we also need abilitity to do partial shipping refunds, hence the issue.

Anyway, thanks for confirming