--- 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' metadata: effectiveApiVersion: '' affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: true createdAt: '2023-07-17T02:38:46-04:00' postedAt: '2023-07-17T00:00:00-04:00' updatedAt: '2024-02-02T10:57:48-05:00' effectiveAt: '2023-07-17T00:00:00-04:00' --- 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.