In API version 2024-04, Checkout APIs on the REST Admin and Storefront API are deprecated, with the exception of the REST Admin API's [Abandoned checkouts](/docs/api/admin-rest/latest/resources/abandoned-checkouts) resource. In version 2025-04, the Checkout APIs will be sunset and no longer function. To maintain continuity and unlock new capabilities, you need to migrate your app to one of the following technologies: - [Storefront Cart API](/docs/storefronts/headless/building-with-the-storefront-api/cart/manage) - [Checkout Sheet Kit](https://www.shopify.com/ca/partners/blog/mobile-checkout-sdks-for-ios-and-android) for Native Mobile Apps This guide will help you migrate from the Checkout API to the Storefront API's Cart. We strongly recommend that you plan your migration and begin the process as soon as possible to avoid any disruptions. ## Key benefits of the Storefront Cart API Migrating from Shopify's Checkout APIs to the Storefront API's [`Cart`](/docs/api/storefront/latest/objects/Cart) object and related types brings a host of benefits and new features that can enhance your application. The following table outlines some of the key benefits of using the Cart API:
Benefit | Description |
---|---|
Query optimization | The Storefront Cart API is offered exclusively in GraphQL, which is a powerful query language that enables more efficient data fetching than can be done in REST. |
Cross-platform compatibility | The Storefront Cart API functions on both the client-side and server-side, which provides more flexibility in what experiences you can build. |
Unlimited access and bot protection | The Storefront Cart API has no rate limits for legitimate traffic, and it comes with built-in bot protection to help safeguard your app. |
Comprehensive feature access | The Storefront Cart API gives you access to a full suite of Shopify features, including contextual pricing, discounts, product bundles, subscriptions, and more. |
Unified functionality | The Storefront Cart API redirects to Shopify's Web Checkout, which enables seamless integration with Shopify Functions and UI extensions. |
Enhanced promotions | The Storefront Cart API supports stackable discount codes, which provides more options for promotional campaigns. Refer to an example. |
Shopify Functions execution | Shopify Functions such as Validation and Cart Transform execute on the Storefront Cart API. |