Replies: 3 comments 8 replies
-
Hi there, I'm currently in the process of migrating from the Checkout API to the Cart API. There's one thing unclear to me, when using the Cart API, to proceed to checkout, are there any other solutions than just redirecting to a Shopify-hosted checkout page? I had a fully customized checkout experience from cart to payment with the Checkout API, but I'm unable to find equivalence with the Cart API. Where are the replacements for the checkoutShippingLineUpdate, checkoutCompleteWithTokenizedPaymentV3 mutations? Also, previously when using the getCheckout query, we could ask for the availableShippingRates field, that we used to display a list of shipping rates that the user could select. Can we get the same behaviour with the Cart API? Thanks! |
Beta Was this translation helpful? Give feedback.
-
FYI As of 2024-07 the Cart API now supports applying a GIft Card to the cart to retain parity with the Checkout Mutations: https://shopify.dev/changelog/storefront-api-cart-now-supports-applying-gift-cards |
Beta Was this translation helpful? Give feedback.
-
One issue I've run into is I can't find a replacement for checkoutCompleteFree. I don't want to redirect users to the Shopify checkout in certain cases where the total would be $0 and the checkout process feels out of place. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
In 2021 Shopify released the Cart in the Storefront API. The Cart API offers several advantages:
As of April 2024 (2024-04), the Checkout APIs (REST and Storefront API endpoints) will be marked as deprecated with an official end of life date on April 1st 2025 (2025-04). We understand that changes like this can have a significant impact on your work and we're committed to making this transition as smooth as possible.
To begin your migration, you can visit the tutorial documentation:
For building Native Mobile Apps - we've released Checkout Sheet Kit in developer preview that integrate with the fully-featured web checkout, while retaining app idiomatic design. This eliminates the need to build and maintain a separate checkout but still preserves customizations and business logic.
To ensure we support all use cases of the legacy checkout mutations, we will be releasing new features to cart. We have documented these on the public roadmap.
Please let us know any feedback, we will be actively monitoring this forum!
Beta Was this translation helpful? Give feedback.
All reactions