Import and export Shopify blog posts

Excel tab and CSV name: Blog Posts. Blog: Handle is the blog the post belongs to. Blogs are a separate sheet.

The sheet name Leaper looks for is Blog Posts. This is separate from Blogs. Blog: Handle is the blog the post belongs to. The blog record itself is on Shopify blogs.

How rows group

One post is one row. Repeat Blog: Handle if several posts belong to the same blog.

How a row is matched

Order is ID, then Handle plus Blog: Handle, then Title plus Blog: Handle. Two posts can share a handle if they are on different blogs.

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

Both posts belong to the journal blog.

What fails

  • A Blog: Handle that is not on this shop fails that post. Create the blog on Blogs first.
  • Omit Body HTML to leave the post content unchanged.

The full header list is on Columns.

FAQ

Blogs sheet?
Create the blog first. Blogs.
Same handle on two blogs?
Allowed. Match includes Blog: Handle.
Empty Body HTML?
Clears the post. Omit the column to keep it.