admin管理员组文章数量:1335665
We required replication of an existing Shopify Custom App. We do not have access to the keys and therefore require rebuild/redefinition of
- Webhooks
- Metafields/MetaObjects
The ability to re-generate these under a new app is possible.
Questions:
- When un-installing a custom app in Shopify do the webhook subscriptions and all meta fields get removed with the uninstallation?
- How does this affect existing data in the system (e.g. metafield data that has been stored)
Concerns: If we remove the app then what happens to the metafields and associated data from existing orders If the data stays then how does a new app access the data since it's in a different namespace...?
UPDATE: Custom App should have their own cleanup procedure: /t/metafields-metaobjects-definitions-with-reserved-namespace-left-after-app-uninstall/2322
After some testing it seems that a separate app that defines the same metafields will create a duplicate in different namespace.
The question still remains:
If a custom app removes meta definitions what happens to the data associated to those definitions in Shopify. Does it persist (so if the app were to 'redefine' the metafields the data would re-appear) or get removed.
We required replication of an existing Shopify Custom App. We do not have access to the keys and therefore require rebuild/redefinition of
- Webhooks
- Metafields/MetaObjects
The ability to re-generate these under a new app is possible.
Questions:
- When un-installing a custom app in Shopify do the webhook subscriptions and all meta fields get removed with the uninstallation?
- How does this affect existing data in the system (e.g. metafield data that has been stored)
Concerns: If we remove the app then what happens to the metafields and associated data from existing orders If the data stays then how does a new app access the data since it's in a different namespace...?
UPDATE: Custom App should have their own cleanup procedure: https://community.shopify.dev/t/metafields-metaobjects-definitions-with-reserved-namespace-left-after-app-uninstall/2322
After some testing it seems that a separate app that defines the same metafields will create a duplicate in different namespace.
The question still remains:
If a custom app removes meta definitions what happens to the data associated to those definitions in Shopify. Does it persist (so if the app were to 'redefine' the metafields the data would re-appear) or get removed.
Share Improve this question edited Nov 20, 2024 at 0:22 JI-Web asked Nov 19, 2024 at 23:23 JI-WebJI-Web 5437 silver badges29 bronze badges1 Answer
Reset to default 0When you uninstall a custom app in Shopify, the webhooks created by that app are removed. However, Metafields/MetaObjects persist even after the app is uninstalled.
If you reinstall the app, the webhooks are recreated, and the old Metafields/MetaObjects remain accessible to the shop. However, if the shop tries to create new Metafields/MetaObjects with the same name, an error will throw.
Additionally, if those Metafields/MetaObjects are owned by the shop, they will be removed upon uninstallation.
本文标签: metadataShopify custom app webhooks and metafieldsStack Overflow
版权声明:本文标题:metadata - Shopify custom app webhooks and metafields - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742391522a2466085.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论