Open
Description
Please list the related package(s)
- @shopify/checkout-ui-extensions-react
If this related to specific APIs or components, please list them here
- useAppMetafields
Is your feature request related to a problem? Please describe.
I am looking to keep my app settings secure by storing them in a private metafield owned by the app. This will prevent merchants from viewing ortings without involving the app. Additionally, the metafield should automatically remove itself when the app is uninstalled. It' editing the sets worth noting that useAppMetafields
only supports following owner types:
| 'customer'
| 'product'
| 'shop'
| 'variant'
| 'company'
| 'companyLocation'
| 'cart';
Describe the changes you are looking for
Query app owned metafields
Describe alternatives you’ve considered
Storing settings in shop metafield. This metafield is public and remains after uninstalling the app.