How to import and export metaobjects in Shopify

Import and export Shopify metaobject entries with a CSV or Excel file, matched by handle, and edit them in bulk. See what changes before you import.

  • By Merchant Control
  • 6 steps
  • 3 min read
Video: Import and export Shopify metaobjects with a spreadsheet · English subtitles

In short

To import metaobjects into Shopify, choose your CSV or Excel file in File Import in Merchant Control, set Resource to Metaobjects, check the Definition and keep Edit existing metaobjects; rows are matched by handle, each entry's unique name in Shopify, for example waxing, and Merchant Control checks what the file will change before you import. To export them, open File Export, set Resource to Metaobjects and choose the Definition: the file holds that definition's entries, one row each, with the fields you keep ticked. To change one field on many entries without a file, use Bulk Actions.

The example in this guide exports the entries of a Care guide definition, changes one entry's instructions in the file, and imports it back.

Export metaobjects, step by step

Step 1: Choose the definition

In Merchant Control, open File Export. In step 1, Select entries, set Resource to Metaobjects and choose the Definition, here Care guide. The file holds the entries of that definition, one row each.

Step 2: Choose the fields

In step 2, Choose fields, the handle and the fields of Care guide are listed, ticked. The fields you keep ticked are the columns of the file; untick one to leave it out.

Step 3: Export the file

In step 3, File and delivery, set Format to Excel (.xlsx) or CSV (.csv), and select Export file. When the export is complete, select Download file.

Import metaobjects, step by step

Step 4: Change the file

Open the file in your spreadsheet app. It has one row per entry, with its handle. Change the values you want, and save the file. Leave the Handle column as it is: it is how each row finds its entry.

Handle Title Instructions
waxing Waxing Wax the base every few rides.
storage Storage Store flat in a dry place.

Step 5: Choose the file and the definition

Open File Import and select Choose file. In Step 1, Edit or add:

  1. Set Resource to Metaobjects.
  2. Check the Definition: Care guide.
  3. Keep Action on Edit existing metaobjects: only entries this definition already has are changed, and a row that matches nothing is skipped.

Matched by shows the column that finds each entry: the handle.

Step 6: Import, and find the result in Activity

In Step 2, Check your columns shows which field each column updates. Merchant Control then checks what the file will change; select Details to see that check. Select the import button, Import metaobjects. The import is listed in Activity.

Good to know

  • New entries: with Add new and edit existing, a row whose handle matches nothing becomes a new entry of the definition, with the values its row names. Matching rows are edited.
  • Not imported yet: fields that point to a product, collection, file or other record, and money, weight, volume, dimension and rating fields. Merchant Control refuses such a column with a sentence that says why, before anything changes.
  • One field on many entries: to change the handle or one field of many entries without a file, open Bulk Actions, set Resource to Metaobjects, and choose the entries in step 1, Select entries. Under What to change, choose Handle or One of its fields.
  • Access: if Merchant Control may not read your metaobjects yet, its message tells you to open Bulk Actions and select Allow access.
  • Credits: exports use no credits. An import uses one credit per row that changes something.

Features in this tutorial

Less work, more profit.

Get started for free

No monthly fee. Includes 100 one-time credits.