Access Shopify owned app metafield - after closing public access for app owned metafields

There is a “Store transfers” for In-store pickup for location UI.
It allows linking warehouses to stores.

It holds data in unstructured metafield app--17808556033--local-pickup-generator.settings.

The app resolves into order-routing-default-function, that is buil-in.

As the metafield cannot be accessed for writing, and it is still app owned, and Shopify didn’t seem to migrate their own app, how do I programmatically assign warehouses to stores? We have over 100 stores and multiple suppliers, states… manual assignment is not a sustainable option.

Public access for app owned metafields and metaobjects is now disabled - Shopify developer changelog

1 Like

Hey @Dimitry_Nechaev, thanks for sharing this.

Just to make sure I understand the issue here, was this a field that you could update before the change to app owned metafields, and can no longer; or are you now wanting to adjust these fields but are still blocked?

I just want to understand if this is a change in behaviour you have seen, or new functionality you are hoping to unlock (or would expect it unlocked in this case)?

I rather want to adjust this field - working on new function. It coincided that I started development at the same time as you dropped support for editing of this field from outside.

As Shopify recommend migrating apps on defined meta field, instead of app owned meta fields I wonder why internal app does not follow. Right now it blocks assignment of warehouses programmatically. So there is a built-in function, that could have been accessed via GraphQL, but is blocked because it depends on app owned metafield.

Thanks for that clarification. I’ll look in to this further to see what I can find out for you.

Greatly appreciate and looking forward to hearing back from you!