List blog articles
Lists the articles of a blog. Cursor-paginated: pass limit (1-50,
default 20) and the cursor from a previous response's nextCursor;
nextCursor is null when there are no more pages.
Supported on Shopify (platform shopify). Accounts on platforms
without blogs support return 400; a blogs-capable platform that lacks
this specific operation returns 405.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Connected Shopify SocialAccount id.
Platform-native numeric blog id. Non-numeric values return 400.
^\d+$Query Parameters
Page size (1-50).
201 <= value <= 50Opaque 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.listBlogArticles({ path: { accountId: 'account_abc123', blogId: 'blog_abc123', },});console.log(data);{
"platform": "shopify",
"articles": [
{
"id": "string",
"blogId": "string",
"platform": "shopify",
"title": "string",
"bodyHtml": "string",
"handle": "string",
"tags": [
"string"
],
"author": "string",
"excerpt": "string",
"image": {
"url": "string",
"altText": "string"
},
"isPublished": true,
"publishedAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"nextCursor": "string"
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Unauthorized"
}Create invite token POST
Generate a secure invite link to grant team members access to your profiles. Invites expire after 7 days and are single-use. Returns 403 when a requested profile is not found or not owned, or when called with a restricted (zrk_) API key: invite management is admin-plane.
List blogs GET
Lists the blogs on the connected store, newest-first as the platform returns them. Cursor-paginated: pass `limit` (1-50, default 20) and the `cursor` from a previous response's `nextCursor`; `nextCursor` is null when there are no more pages. Supported on Shopify (platform `shopify`). Accounts on platforms without blogs support return 400; a blogs-capable platform that lacks this specific operation returns 405.