latestOpenAPI 3.1.02026-08-225721892.2 MB

19fd2b70854e

Blogs

Update a blog article

Partial-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.

Supported on Shopify (platform shopify). Accounts on platforms without blogs support return 400; a blogs-capable platform that lacks this specific operation returns 405.

patch/v1/accounts/{accountId}/blogs/{blogId}/articles/{articleId}

Path parameters

accountIdstring required

Connected Shopify SocialAccount id.

blogIdstring required

Platform-native numeric blog id. Non-numeric values return 400.

articleIdstring required

Platform-native numeric article id. Non-numeric values return 400.

Request body

titlestring
bodyHtmlstring

Article body as HTML.

handlestring

URL slug of the article.

tagsstring[]

Replaces the full tag list.

authorstring

Display name of the article author.

excerptstring

Short summary shown in blog listings.

isPublishedboolean

Set false to unpublish the article back to a draft.

publishDatestring date-time

ISO 8601 datetime with offset (or Z). A future date schedules publication natively on the platform.

Response

Article updated

platform'shopify'