Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi I'm facing an issue with the pre-selection of the shipping country by using Storefront API.
We have a store in which there is a primary market (set to United States) and a secondary International Market (with Mexico and Canada only). When creating a checkout with storefront API using the checkoutCreate mutation, and passing to both buyerIdentity and @inContext the US countryCode value I get a checkout webUrl with Canada pre-selected in the country dropdown. If I do the same with MX or CA I have the correct behaviour instead.
What could I be doing wrong?
Thank you!
Hey @DenTok
Are you able to provide example queries and store details please? DM is fine 🙂
Scott | Developer Advocate @ Shopify