MailingAddressInput support for countryCode

4 1 0



we have an issue implementing a custom storefront API checkout. We provide Apple Pay checkout and get the following address from Apple:

Country: Deutschland
Country code: DE

Normally, we would just send the countryCode to `checkoutShippingAddressUpdateV2` in order to ensure the correct country is set when selecting the shipping address. However, in contrast to many other mutations, Storefront API's MailingAddressInput seems to be missing this property. 


Why this is necessary
As seen, the country by external providers can be provided localized, meaning that 'Germany' becomes 'Deutschland'. Using an ISO country codes we don't need to translate the name to the english country name but instead just pass the ISO code.

It would be great if this issue could be considered in upcoming API releases.


Shopify Staff
Shopify Staff
131 19 21

This is an accepted solution.

Hi @ocastx 

Thanks for letting us know that this is a pain point for you, we appreciate the feedback. I can see that this would be adding an extra step in sending the address through. I'll forward this on to our product team for future consideration. 

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog