Custom data guide
How to copy metafield and metaobject definitions to another store
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.
Steps
- Install Shopify’s GraphiQL app on both stores, with read scopes on store A and write scopes on store B (the copier lists them).
- Run the metaobject and metafield definition queries on store A and paste each result.
- Optional but recommended: run the same queries on store B, so definitions it already has are skipped.
- Review the checklist and the items the tool skipped, and why.
- Run batch 1 on store B, paste the result, then the rest. Paste every result back to confirm.
What is copied
Entries and values are not copied: move metaobject entries with the Metaobject CSV Bridge.
- Name, namespace and key, description, type and validations.
- Pinned status, storefront access, “filter in admin”, collection conditions and unique values.
- Conditional definitions (category constraints).
- Metaobject fields, display name, publishable, translatable, SEO and web pages settings.
More guides
Based on metafieldDefinitionCreate, metaobjectDefinitionCreate, validation options and metafieldDefinitionDelete.