Zalo OA icon

Zalo OA

Tương tác với Zalo Official Account API

Zalo OA → Cập Nhật Bài Viết

AI-generated

Summary

Update an existing Zalo Official Account article identified by its token with new title, description, author, cover photo URL and status, content, visibility status, and comment permission settings.

Inputs

  • Token Bài Viết (required) — Token of the article to update
  • Tiêu Đề Bài Viết — New title of the article
  • Mô Tả Bài Viết — New short description of the article
  • Tác Giả — New author name of the article
  • URL Ảnh Bìa — New URL for the article's cover photo
  • Trạng Thái Ảnh Bìa — New visibility status of the cover photo (show or hide)
  • Nội Dung Bài Viết — New content of the article, supports HTML
  • Trạng Thái Bài Viết — New visibility status of the article (show or hide)
  • Cho Phép Bình Luận — Whether to allow users to comment on the article (show or hide)

Output shape

a single JSON object per item containing the update operation response from Zalo OA API

The response reflects success or failure and includes details or error messages if the update fails. Ensure the article token is valid and that the article exists. The operation requires a valid Zalo OA access token.

Examples

Example 1: Updating an article's title and content

Provide the article's token and specify new title and content fields. Optionally update cover photo URL, author, description, status, and comment permissions.

Discussion