Import Shopify metafield definitions

Excel tab and CSV name: Metafield Definitions. Merchant-owned namespace, key, type, and owner. App-owned $app namespaces are skipped.

The sheet name Leaper looks for is Metafield Definitions. Merchant-owned metafield definitions are created from this sheet. App-owned $app namespaces are skipped. Metafield values are columns on the resource sheet, not this one. See Import Shopify metafields from CSV.

How rows group

One definition is one row.

How a row is matched

Order is ID, then Owner Type plus Namespace plus Key.

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

The values then live in Metafield: custom.material [single_line_text_field] on Products.

What fails

  • A namespace that starts with $app or app-- is skipped.
  • Create the definition before you import values on Products or another resource sheet.

The full header list is on Columns.

FAQ

Values?
Metafield: columns on the resource sheet, not this one. Metafields.
App namespaces?
$app and app-- are skipped.
Order?
Definitions first, then values.