How to trigger a page refresh from a Customer Account UI Modal?

Hi folks,

I’m building a Customer Account UI extension using the 2025-10 version. My setup involves:

  1. A button in customer-account.order.action.menu-item.render.

  2. A modal triggered via customer-account.order.action.render containing a form.

When the user submits the form, it updates the order data via an API call. However, I need the parent order page to refresh (or the UI to re-validate) so that the action menu logic updates immediately based on the new order state.

Is there a built-in hook or a way to trigger a data refresh on the order page from within the modal extension?

at the moment there isnt
what i did is to refresh the page
not a good UX

Could you share how? Extensions are quite limited on how this is handled.

Yeah
I have to first get the static URL of the customer account
and just use navigation.navigate to redirect to the current page

since window.location doesnt work

const SITE_URL = shopify.settings.value.site_url || “https://account.example.com”;

navigation.navigate(`${SITE_URL}/orders/${orderId}`);