Custom data guide
Why copied metaobject reference fields break, and how to fix them
What you’ll need
Access to both stores in your Shopify admin
How to get this: Access to both stores in your Shopify admin
- Sign in at admin.shopify.com with the account you use for your store.
- If you are staff rather than the owner, ask the owner to give you both stores permission in Settings › Users.
Shopify’s free GraphiQL app (with installed on both stores, with read_metaobject_definitions and the write access for each type you copy access)
How to get this: Shopify’s free GraphiQL app
- Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
- Then open it any time from Apps › Shopify GraphiQL App in your admin.
Example
{ name: "metaobject_definition_id", value: "gid://shopify/MetaobjectDefinition/123" }
→ { name: "metaobject_definition_type", value: "designer" }Other things that don’t copy by API
- Admin access: Shopify only accepts it for app-owned definitions, so it’s left out.
- Customer account access on store-owned metafields: set it in the admin.
- App-owned definitions: install the app on store B.
More guides
Based on metafieldDefinitionCreate, metaobjectDefinitionCreate, validation options and metafieldDefinitionDelete.