Staff note missing when submitting order cancellation via GraphQL Admin API

Hello,

I’ve used admin graphQL query to cancel an order in our code:

https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/orderCancel#argument-staffnote

With variables:

variables: {
  orderId: `gid://shopify/Order/${orderId}`,
  reason: 'CUSTOMER',
  refund: true,
  restock: true,
  staffNote: 'Test staff note',
}

As you can see in the attached screenshot, the order was successfully cancelled but there are no notes / staffNotes appearing.

According to what I’ve read, we should be able to see in the notes when viewing the order in shopify admin, but can’t see it there.

Any help?