Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello Shopify Community,
I'm currently developing a custom checkout experience using the Storefront API and have encountered a challenge. Despite successfully creating carts and associating them with user identities (including delivery address preferences), the delivery address fields are not being pre-populated on the generated checkout page.
Here's a brief overview of my process:
Here's a snippet of my cartBuyerIdentityUpdate mutation for reference:
mutation { cartBuyerIdentityUpdate(cartId: "cart_id", buyerIdentity: { email: "user_email", phone: "user_phone", countryCode: "user_country_code", deliveryAddressPreferences: [{ deliveryAddress: { address1: "user_address1", city: "user_city", province: "user_province", country: "user_country", zip: "user_zip" } }] }) { cart { checkoutUrl } } }
Hey, any luck with this? I am running into the same thing
Facing the same issue. Any updates?
Also running into the same issue, the query comes back without errors too
Same problem here. Any news on this?
same issue please tell me how to resolve ??