Delete a blog article
Deletes the article. The delete happens on the platform and is permanent; Zernio stores nothing to restore it from.
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+$Platform-native numeric article id. Non-numeric values return 400.
^\d+$Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.blogs.deleteBlogArticle({ path: { accountId: 'account_abc123', blogId: 'blog_abc123', articleId: 'article_abc123', },});console.log(data);{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Unauthorized"
}Update a blog PATCH
Partial-updates a blog. Send any subset of `title` and `handle`; at least one field is required (an empty body returns 400). Supported on Shopify (platform `shopify`). Accounts on platforms without blogs support return 400; a blogs-capable platform that lacks this specific operation returns 405.
Delete a blog DELETE
Deletes the blog AND every article in it. The delete happens on the platform and is permanent; Zernio stores nothing to restore it from. Supported on Shopify (platform `shopify`). Accounts on platforms without blogs support return 400; a blogs-capable platform that lacks this specific operation returns 405.