# cartNoteUpdate Updates the note for an existing cart. ## Authentication > **Public Access**: Accessible with the public API key ## Mutation Structure ```graphql mutation { cartNoteUpdate(id: String!, note: String!) { cart { # Cart fields } userErrors { # UserError fields } } } ``` ## Input Arguments | Argument | Type | Required | Description | |----------|------|----------|-------------| | id | String | Yes | The ID of the cart to update the note for | | note | String | Yes | The new note for the cart | ## Return Type [CartNoteUpdatePayload](/reference/storefront/v1/objects/cart-note-update-payload) - Payload returned by the cartNoteUpdate mutation. Contains the updated cart and any user errors that occurred during the operation. ## Example ```graphql mutation { cartNoteUpdate(id: "eyJhbGciOiJIUzI1NiJ9...", note: "Please leave at front door") { cart { id note } userErrors { field message } } } ``` ## Related Types - [CartNoteUpdatePayload](/reference/storefront/v1/objects/cart-note-update-payload)