Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi, is ti possible to create a checkout using "checkoutCreate" and also input the shipping address rather update it later via "checkoutShippingAddressUpdateV2 "?
Solved! Go to the solution
This is an accepted solution.
Yes, as per the checkoutCreate GraphQL docs, the CheckoutCreateInput type also takes a shippingAddress field of type MailingAddressInput.
https://shopify.dev/docs/storefront-api/reference/checkouts/checkoutcreateinput
My recommendation would be to install a GraphQL client and try it out!
This is an accepted solution.
Yes, as per the checkoutCreate GraphQL docs, the CheckoutCreateInput type also takes a shippingAddress field of type MailingAddressInput.
https://shopify.dev/docs/storefront-api/reference/checkouts/checkoutcreateinput
My recommendation would be to install a GraphQL client and try it out!