--- title: Changes to Ajax API Cart token format - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/changes-to-ajax-api-cart-token-format md: https://shopify.dev/changelog/changes-to-ajax-api-cart-token-format.md --- [Back to Developer changelog](https://shopify.dev/changelog) July 17, 2023 Tags: * Action Required * API # Changes to Ajax API Cart token format Ajax API cart tokens will now be returned with a new format. The new format will include a prefix `c1-` however the API features and functionality remain unchanged. **Apps and themes should be designed to handle cart tokens in any format and of any length**. Treat the cart token as a random identifier that will change in the future. **Action Required:** Ensure that any app and theme code is free from hard-coded assumptions (ex. Using regex to identify a cart token) on the format and structure of the cart token.