RemoveNote is not working as expected.

Topic summary

A developer is experiencing an issue with the useApplyNoteChange API in Shopify checkout customization.

What works:

  • Updating notes using type: 'updateNote' functions correctly

The problem:

  • Using type: 'removeNote' appears to succeed (API call returns successfully)
  • However, the note value in the .json file is not cleared as expected
  • Instead of being blank, it shows a previously added note

Suspected cause:

  • The developer believes the note value may be retrieved from cache rather than being properly removed

The issue remains unresolved with no responses yet addressing the caching behavior or providing a workaround.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

When we tried to update notes using

useApplyNoteChange({

type: ‘updateNote’,
note: “testing”
});
It’s working fine, But when we tried to remove note using remove note

useApplyNoteChange({
type: ‘removeNote’
});

The API call is successful, but when we check the note value in the .json file, it is not blank. Instead, it displays a previously added note, it might be retrieved from the cache rather than being set to blank.