Reference

Metaobject CSV format: link products, collections and images without GIDs

Shopify stores references as GIDs — long internal IDs that are impractical to work with in a spreadsheet. Metaobjectify lets you use values you already know instead: product handles, collection handles and direct file URLs.

Quick reference

Four kinds of value cover almost every metaobject CSV.

Product reference

Use the product handle

classic-oxford-shirt

Collection reference

Use the collection handle

mens-shirts

Image or file

Use a direct URL

https://example.com/images/slim-fit-chart.jpg

Entry handle

Lowercase letters, numbers and hyphens

slim-fit-shirt-guide

Worked example: a size guide

Say your store has a Size guide metaobject with these fields. Each one becomes a column in the CSV.

Fields in the Size guide metaobject and their CSV columns
FieldTypeCSV column
Entry handleHandlehandle
TitleSingle line texttitle
Fit descriptionSingle line textfit_description
ProductProduct referenceproduct
CollectionCollection referencecollection
Size chart imageFile (image)size_chart_image

One row of that CSV

handle,title,fit_description,product,collection,size_chart_image
slim-fit-shirt-guide,Slim Fit Shirt Size Guide,Cut close to the body,classic-oxford-shirt,mens-shirts,https://example.com/images/slim-fit-chart.jpg
handletitlefit_descriptionproductcollectionsize_chart_image
slim-fit-shirt-guideSlim Fit Shirt Size GuideCut close to the bodyclassic-oxford-shirtmens-shirtshttps://example.com/images/slim-fit-chart.jpg

The product, collection and image are plain handles and a URL — no GIDs anywhere in the file.

Value formats

What to enter for each type of field.

What to enter for each field type, with examples
Field typeWhat to enterExample
Entry handleLowercase letters, numbers and hyphensslim-fit-shirt-guide
TextPlain textSlim Fit Shirt Size Guide
Product referenceThe product’s handleclassic-oxford-shirt
Collection referenceThe collection’s handlemens-shirts
Image or fileA direct URL to the filehttps://example.com/images/slim-fit-chart.jpg

How rows are matched

The handle decides what happens to each row, so one file can update and create entries at the same time.

Existing handle

Updates that entry in place

New handle

Creates a new entry

  • Column order and header names don’t matter — you match each column to a field when you import.
  • Every row is validated and errors are flagged before anything changes in your store.

Common mistakes — and what to enter instead

Validation flags each of these before import, but it’s quicker to get them right in the spreadsheet.

A product title instead of its handle

Wrong:Classic Oxford ShirtRight:classic-oxford-shirt

A full product link instead of the handle

Wrong:https://yourstore.com/products/classic-oxford-shirtRight:classic-oxford-shirt

A preview or share page instead of a direct file URL

Wrong:https://example.com/share/slim-fit-chartRight:https://example.com/images/slim-fit-chart.jpg

An entry handle changed by accidentThis creates a new entry instead of updating the old one.

Wrong:slim-fit-shirt-guide-2Right:slim-fit-shirt-guide

A file in the wrong format for the field

Wrong:…/slim-fit-chart.pdfRight:…/slim-fit-chart.jpg

Try it on your own metaobjects

The Free plan includes 5 imports and unlimited exports.

Add Metaobjectify to Shopify