--- title: cartNoteUpdate - Storefront API description: Updates the note on the cart. api_version: 2025-10 api_name: storefront type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/mutations/cartNoteUpdate md: https://shopify.dev/docs/api/storefront/latest/mutations/cartNoteUpdate.md --- # cart​Note​Update mutation Updates the note on the cart. ## Arguments * cart​Id [ID!](https://shopify.dev/docs/api/storefront/latest/scalars/ID) required The ID of the cart. * note [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The note on the cart. *** ## Cart​Note​Update​Payload returns * cart [Cart](https://shopify.dev/docs/api/storefront/latest/objects/Cart) The updated cart. * user​Errors [\[Cart​User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CartUserError) non-null The list of errors that occurred from executing the mutation. * warnings [\[Cart​Warning!\]!](https://shopify.dev/docs/api/storefront/latest/objects/CartWarning) non-null A list of warnings that occurred during the mutation. *** ## Examples * ### cartNoteUpdate reference ## Mutation Reference ```graphql mutation cartNoteUpdate($cartId: ID!, $note: String!) { cartNoteUpdate(cartId: $cartId, note: $note) { cart { # Cart fields } userErrors { field message } warnings { # CartWarning fields } } } ``` ## Input ```json { "cartId": "gid://shopify//10079785100", "note": "" } ``` ##### Variables ``` { "cartId": "gid://shopify//10079785100", "note": "" } ```