Hi,
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.