Import Shopify metaobject definitions

Excel tab and CSV name: Metaobject Definitions. Type, name, and fields. Field columns on Metaobjects come from this definition.

The sheet name Leaper looks for is Metaobject Definitions. Merchant-owned metaobject definitions are created from this sheet. App-owned $app namespaces are skipped. Entries are the Metaobjects sheet.

How rows group

One definition can span several Field: Key rows. Extra rows belong to the same definition while ID or Type stay the same. Repeat Type.

How a row is matched

Order is ID, then Type.

Command

CommandWhat import does
empty or MERGEUpdate the matched row, or create it if there is no match.
NEWCreate. Skipped if it already exists.
UPDATEUpdate. Fails if there is no match.
DELETEDelete the matched row.
IGNORESkip the row.

File example

Field: Key becomes Field: label on the Metaobjects sheet.

What fails

  • Create the definition before you import Metaobjects entries.

The full header list is on Columns.

FAQ

Entries?
The Metaobjects sheet after this definition exists.
App-owned?
$app namespaces are skipped.
Several fields?
Repeat Type. One Field: Key per extra row.