Update a blog article
Changed onPartial-updates an article. Send any subset of the create fields (title, bodyHtml, handle, tags, author, excerpt, image, seo, isPublished, publishDate); at least one field is required (an empty body returns 400). isPublished and publishDate behave as on create: isPublished: false unpublishes back to a draft and a future publishDate schedules publication natively on the platform. Omitting both fields preserves the current WordPress or Wix status. Omitting image preserves the current featured image; removal is not supported. WordPress rejects seo and does not support SEO-plugin/custom-field, category, or custom-post-type writes. On Webflow, an edit to a published item goes live immediately, isPublished: false unpublishes it, and a future publishDate returns 400.
Supported on Shopify (shopify), WordPress (wordpress), Wix (wix) and Webflow (webflow).
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/accounts/{accountId}/blogs/{blogId}/articles/{articleId}
- Auth: HTTP bearer
Path parameters
Connected Shopify, WordPress, Wix or Webflow account id.
Platform-native blog/site id returned by the list operation.
Platform-native article id: numeric on Shopify and WordPress, a GUID on Wix, a 24-character hex item id on Webflow. Other formats return 400.
Request body
Response
Article updated
Changes
- warning
added the new
webflowenum value to the/response property for the response status - warning
added the new
webflowenum value to theresponse property for the response status - info
added the new optional request property
- warning
- warning
changed the pattern of the
pathrequest parameterarticleIdfrom^\d+$to^[A-Za-z0-9_-]{1,64}$ - warning
changed the pattern of the
pathrequest parameterblogIdfrom^\d+$to^[A-Za-z0-9_-]{1,64}$ - warning
added the new
wixenum value to the/response property for the response status - warning
added the new
wixenum value to theresponse property for the response status
- warning