Checkout country select

DenTok
Shopify Partner
17 0 10

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!

 

Reply 1 (1)

SBD_
Shopify Staff
1829 270 412

Hey @DenTok 

 

Are you able to provide example queries and store details please? DM is fine 🙂

Scott | Developer Advocate @ Shopify