--- title: Add Metafields to Cart API - 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/add-metafields-to-cart-api md: https://shopify.dev/changelog/add-metafields-to-cart-api.md --- [Back to Developer changelog](https://shopify.dev/changelog) April 1, 2023 Tags: * API * 2023-04 # Add Metafields to Cart API As of GraphQL Storefront API Version `2023-04` you can use Metafields with Carts! Metafields can be added during Cart creation, they can be queried, updated, and deleted. Learn more: * [Create Cart Metafields](https://shopify.dev/docs/api/storefront/2023-04/mutations/cartCreate#field-cartinput-metafields) * [Query Cart Metafields](https://shopify.dev/docs/api/storefront/2023-04/objects/Cart#field-cart-metafields) * [Update Cart Metafields](https://shopify.dev/docs/api/storefront/2023-04/mutations/cartMetafieldsSet) * [Delete Cart Metafields](https://shopify.dev/docs/api/storefront/2023-04/mutations/cartMetafieldDelete)