Hello,
For my Customer Account extension, I’m using app-owned metafields, which I fetch like this:
const response = await fetch(
'shopify:customer-account/api/2025-10/graphql.json',
{
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
query: `
query {
shop {
metafields(identifiers: [
{
namespace: "$app:xxxxx",
key: "xxxxxx"
}
]) {
namespace
key
value
}
}
}
`,
}),
}
);
This works perfectly on the Customer Account UI (front).
However, it does not work at all in the Back Office / Admin.
App-owned metafields simply cannot be retrieved there.
Does anyone know why app-owned metafields are accessible from the Customer Account UI but not from the Admin?
Is this a limitation of the Customer Account API, or is there another recommended way to retrieve app-owned metafields on the Admin side?
Thanks in advance for any insights!