Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi,
I´m trying to get the Checkout ID from the Checkout URL to add/update the shipping address.
I´m getting the checkout url from createCart Mutation (need to use cart as I´m working with sellingPlans) but not the id. To fetch the checkout I need the id. Is there any way to get the id from checkout url?
Example Checkout URL: https://example.com/cart/c/5b09b3ee8ecc0cd08859ba2f340dc1e3
Thank you.
Hello, did you get the solution?
Unfortunately no
@Jujuba Have you managed to find any solution to add a shipping address to the checkout? Looks like cart delivery groups. delivery.option is not exactly the same as checkout available shipping
I am in the same boat as you that migrating checkout API to cart APIs for using subscriptions. Now blacked on the adding shipping
I used query params to add the shipping address. Not the best solution but the only one I could find. Hope shopify will provide a better solution. https://community.shopify.com/c/shopify-design/cart-use-permalinks-to-pre-load-the-cart/td-p/613702#...
Same here If I used Cart's cartCreate
mutation it becomes unable to use Checkout object and its mutation queries.