Shopify API integration for storefront blogs
Give your product write access to any merchant's Shopify blog. The same API key posts the announcement to their social channels.
No credit card required
{
"title": "Autumn collection preview",
"bodyHtml": "<p>The first pieces land next month.</p>",
"isPublished": true
}You don't build a Shopify app, we provide it
Connecting stores you don't own means a public Shopify app, and every public app goes through Shopify's review before a third-party store can install it. We already did that. You get an API key instead: no app to create, no review to wait on, and no token to hold per store.
Ask the merchant for their .myshopify.com domain first. Shopify has no store picker, so the connect call needs a domain you already know.
Endpoints
All under /v1/accounts/{accountId}/blogs
| GET | /blogs | List the store's blogs |
| POST | /blogs | Create a blog |
| GET PATCH DELETE | /blogs/{blogId} | Get, update, or delete a blog |
| GET | /blogs/{blogId}/articles | List articles |
| POST | /blogs/{blogId}/articles | Create or schedule an article |
| GET PATCH DELETE | /blogs/{blogId}/articles/{articleId} | Get, update, or delete an article |
What's supported
Several blogs per store
Create, rename, and delete each one, not just the default.
Articles in HTML
Title, body, tags, author, and excerpt.
Drafts and scheduling
Save it unpublished, or set a date and Shopify publishes it.
SEO title and description
They write to the fields your theme reads.
Two ways to connect
OAuth for stores you integrate with, or an admin token for a store you own.
Content Types
How It Works
- 1.Get your API keySign up and copy your key.
- 2.Collect the store domainShopify has no store picker, so ask the merchant for theirs.
- 3.Send them to approveOne call returns an auth URL. They approve, and the store lands on your profile.
- 4.PublishList the store's blogs for the id, then post your article to it.
Features
Ship this afternoon
No app to build, no review to pass. Get your API key and start writing articles.
One key, every channel
The same key that manages this store's blog posts to Instagram, TikTok, LinkedIn, and 13 more.
Nothing between you and the publish
99.97% uptime, and scheduled articles publish from Shopify itself, so there is no queue to jam.
Code Example
curl -X POST "https://zernio.com/api/v1/accounts/ACCOUNT_ID/blogs/BLOG_ID/articles" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Autumn collection preview",
"bodyHtml": "<p>The first pieces land next month.</p>",
"tags": ["autumn", "new-arrivals"],
"author": "Maria Costa",
"isPublished": true
}'Common questions
- Can I post to social media through the Shopify integration?
- └No. A connected store never appears as a publishing target. Social posting runs on Zernio's 16 channels, and you can connect both under one API key.
- Why do I need the store's domain?
- └Shopify has no store picker and nothing that maps a merchant to their shops, so an authorisation URL can only be built for a domain you already know. Collect it before you start the connect. Merchants installing from our App Store listing skip this, because Shopify supplies it.
- Does Zernio schedule Shopify articles?
- └Shopify does. Set a future publish date and Shopify publishes it at that time. No Zernio queue is involved, and the article reads back as a draft with the future date on it until then.
- What permissions does Zernio ask a store for?
- └Read and write on blogs and articles. We request no access to customers, orders, products, or payments.
- Can I manage more than one store?
- └Yes. Each store is a connected account with its own id, and one API key reaches all of them. Reconnecting the same store to the same profile refreshes the token in place rather than creating a second account.
- Can I import blog posts into Shopify with the API?
- └Yes. Send each post as an article with an HTML body. Set the handle yourself if you're preserving URLs from an old CMS, because handles don't update later.
- Do I need the Shopify app to use the API?
- └No. OAuth or a merchant's own admin token both work from the API alone. The Shopify App Store listing is for merchants who'd rather install and be billed by Shopify.
One API, 16 Platforms
Learn more
Ship your Shopify blog integration today
One API key, your storefront blog and 16 channels behind it.

