# 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/1.3.0/objects/cart-note-update-payload) - Payload returned by the cartNoteUpdate mutation, containing the updated cart and any errors that occurred during the operation. ## Example ```graphql mutation { cartNoteUpdate(id: "eyJhbGciOiJIUzI1NiJ9...", note: "Please deliver after 5 PM") { cart { id note } userErrors { field message } } } ``` ## Related Types - [CartNoteUpdatePayload](/reference/storefront/1.3.0/objects/cart-note-update-payload)