Accessing myshopify domain in customer ui extension

My team is building a Customer UI extension for our organization (internal use) and we are unable to get the myshopify domain. We are using the 2025-10/preact version.

The reason why we need this is because we have multiple shops and the checkout ui extension will appear different based on the shop.

Any direction / help is appreciated.

Edit: our target is customer-account.order-index.block.render

For people who land here, the answer is you’ll need to use the fetch function of Customer API instead of query function of Storefront API.

Ensure your app has customer_read_customers permission