Blogs
List blogs
Lists blogs on the connected account. Shopify returns its store blogs
with cursor pagination. A WordPress account represents one site and
always returns exactly that one blog with nextCursor: null.
limit is 1-50 (default 20). Treat nextCursor as opaque; pass it
unchanged on the next request. Supported on Shopify (shopify) and
WordPress (wordpress).
PlatformsShopifyWordPress
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
accountId*string
Connected Shopify or WordPress account id.
Query Parameters
limit?integer
Page size (1-50).
Range
1 <= value <= 50Default
20cursor?string
Opaque cursor from a previous response. Omit for the first page.
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.blogs.listBlogs({ path: { accountId: 'account_abc123', },});console.log(data);{ "platform": "shopify", "blogs": [ { "id": "string", "platform": "shopify", "title": "string", "handle": "string" } ], "nextCursor": "string"}Was this page helpful?