Hi there,
I have created a customer account ui extension for my app but nothing is rendered on the theme editor (it works correctly on the online store)
My extension fetches a shop metafield and then renders a form based on this metafield. On the online store it is able to fetch that shop metafield while on the theme editor it cannot
async function fetchAccountForm() {
return await fetch("shopify://customer-account/api/2024-10/graphql.json", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ query: getAccountFormMetafieldQuery }),
});
}
Shouldn’t it works on the theme editor too?