# CartInputMetafieldInput - storefront - INPUT_OBJECT Version: 2024-10 ## Description The input fields for a cart metafield value to set. ### Access Scopes ## Fields * [key](/docs/api/storefront/2024-10/scalars/String): String! - The key name of the metafield. * [type](/docs/api/storefront/2024-10/scalars/String): String! - The type of data that the cart metafield stores. The type of data must be a [supported type](https://shopify.dev/apps/metafields/types). * [value](/docs/api/storefront/2024-10/scalars/String): String! - The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type. ## Input objects with this input object * [CartInput](/docs/api/storefront/2024-10/input-objects/CartInput) ## Examples