Metaport documentation
Export your Shopify metaobjects to CSV, edit them in a spreadsheet, and import them back.
Getting started
Install the App from your Shopify admin and approve its permissions. Open it from Apps in your admin. It has these pages:
- Export lists every metaobject definition in your store, with its number of entries, and downloads them as files.
- Import reads a CSV file and creates or updates entries in your store.
- History lists every import and export, with its status and results.
Exporting metaobjects
- Open the Export page. All definitions are selected. Use Select all to clear or restore the selection, or tick individual definitions.
- Click Export. You get one CSV file per definition, ready to edit in Excel, Google Sheets or Numbers. The button is disabled until at least one definition is selected.
Importing metaobjects
- Open the Import page and choose a
.csvfile. To start from a template, use Sample files: pick one of your definitions and download a sample CSV with the right columns and example values for each field type. - Choose the definition the file belongs to under Definition for this CSV. Nothing is pre-selected, so entries can't end up in the wrong definition by accident.
- Check the preview, which shows how many entries the file has.
- Click Import. The import runs in the background; see Import progress and results.
CSV file format
The easiest way to get a correctly formatted file is to export a definition as CSV and edit it. The first row holds the column names:
| Column | Required | Contents |
|---|---|---|
handle | Yes | The entry's unique handle, e.g. summer-sale. |
status | No | ACTIVE or DRAFT. Only used when the definition has publishing enabled. |
| One column per field | No | The column name is the field's key (for example title), not its display name. Columns that don't match a field are ignored. |
handle,status,title,description,tags
summer-sale,ACTIVE,Summer sale,"Up to 50% off, this week only","[""sale"",""summer""]"
winter-sale,DRAFT,Winter sale,,"[""sale""]"Cells containing commas, quotes or line breaks are wrapped in double quotes, with quotes inside doubled (""). Spreadsheet apps do this automatically when you save as CSV.
Field values
- Text: as is. Multi-line text can contain line breaks inside a quoted cell.
- Numbers, dates and true/false: in Shopify's format, e.g.
42,2026-10-14,true. - Lists: a JSON array, e.g.
["sale","summer"]. - References (products, collections, pages, files, other entries): a handle, file name or SKU, e.g.
beach-towel. See Reference fields.
Reference fields
Fields that link to products, collections, pages, files or other entries are exported as readable values, and an import looks each one up in your store and links it:
| Field links to | Write | Example |
|---|---|---|
| Product, collection, page, blog post | Its handle | beach-towel |
| Another metaobject entry | The entry's handle | size-guide-tops |
| Entries of several definitions (mixed field) | Definition type / handle | size_guide/tops |
| File (image, video, document) | Its file name | logo.png |
| Product variant | Its SKU | TOWEL-BLUE-L |
- Lists hold several values, as exported (
["beach-towel","sun-hat"]) or simply separated by commas (beach-towel, sun-hat). - Shopify IDs such as
gid://shopify/Product/123always work too. Exports use them when an item has no readable value, for example a variant without a SKU, or links to customers, companies and orders. - Entries in the same file can link to each other, in any order: the App creates the entries first, then links them.
- Because values are handles rather than IDs, a file exported from one store links to the matching items in another store, as long as they exist there with the same handles.
If something can't be found, or two items share a handle or SKU, the entry is still saved but that field is left unchanged, and the results list it so you can fix the value and import again.
Import progress and results
Imports run on the App's server, so large files aren't cut off by browser or network timeouts. While an import runs, the Import page shows a progress bar. You can leave the page and come back; the import keeps going.
When it finishes, the page shows:
- How many entries were imported and how many failed.
- A table of failed entries with Shopify's reason for each (the first 200 are listed).
- Reference fields left unchanged because what they link to wasn't found.
Only one import can run per store at a time. Shopify limits how fast apps can make changes, so the App automatically slows down and retries when it reaches that limit, so larger imports can take a minute or two.
Plans and limits
| Free | Pro ($5/month) | |
|---|---|---|
| Imports | 5 in total | Unlimited |
| Entries per import | Up to 10 | Up to 100 |
| CSV import | Yes | Yes |
| CSV exports | Unlimited | Unlimited |
The Free plan's 5 imports are a one-time allowance, not monthly, and isn't reset by reinstalling the App. Only imports that create or update at least one entry count. Files with more entries than your plan allows can be split into smaller files. See your usage and change plans on the Plan page in the App; Pro is billed through your Shopify invoice. See Pricing for details.
Job history
The History page lists every import and export for your store, newest first, with its status and result. Filter by Imports or Exports, and select View on an import to see its full results, including each failed entry. Running imports update live.
Export files aren't stored, so a past export can't be downloaded again; run a new export instead. History is deleted when you uninstall the App.
Troubleshooting
"No metaobject definition with type … exists"
The definition you chose no longer exists in your store. Create it in Settings → Custom data → Metaobjects, then import again.
An entry failed with a field error
The value doesn't match the field's type or validation rules (for example text in a number field, or a missing required field). Fix the value in your file and import it again; entries that already succeeded are simply updated.
"Reference fields were left unchanged"
The value doesn't match an item in this store: check the handle, file name or SKU, or create the item first. For a field that links to several definitions, write type/handle. If two items share a handle or SKU, use the Shopify ID instead.
"The import stopped because the app restarted"
The App's server restarted during the import. Upload the same file again: entries are matched by handle, so nothing is duplicated.
"Can't read this file"
The file isn't valid CSV, or a row is missing its handle. Save spreadsheets as CSV UTF-8 and check that the first row contains a handle column.
Still stuck? Email metaport@ajayc.com.np with your store's domain and, if possible, the file you were importing.