Actions38
- Zalo OA Actions
- Gửi Tin Nhắn Văn Bản Vào Nhóm
- Gửi Tin Nhắn Văn Bản
- Gửi Tin Nhắn Hình Ảnh
- Gửi Tin Nhắn File
- Gửi Tin Nhắn Danh Sách
- Lấy Thông Tin Người Theo Dõi
- Lấy Danh Sách Người Theo Dõi
- Cập Nhật Thông Tin Người Theo Dõi
- Lấy Danh Sách Cuộc Trò Chuyện Gần Đây
- Lấy Lịch Sử Hội Thoại
- Kiểm Tra Trạng Thái Tin Nhắn
- Upload Hình Ảnh
- Gửi Tin Tư Vấn Kèm Ảnh
- Upload Hình Ảnh GIF
- Upload File
- Lấy Danh Sách Tag
- Gán Tag Cho Người Theo Dõi
- Xóa Tag
- Xóa Người Theo Dõi Khỏi Tag
- Cập Nhật Menu OA
- Tạo Bài Viết
- Cập Nhật Bài Viết
- Xóa Bài Viết
- Lấy Danh Sách Bài Viết
- Lấy Chi Tiết Bài Viết
- Chuẩn Bị Upload Video
- Xác Thực Video
- Tạo Sản Phẩm
- Cập Nhật Sản Phẩm
- Lấy Thông Tin Sản Phẩm
- Lấy Danh Sách Sản Phẩm
- Tạo Danh Mục
- Cập Nhật Danh Mục
- Lấy Danh Sách Danh Mục
- Tạo Đơn Hàng
- Cập Nhật Đơn Hàng
- Lấy Thông Tin Đơn Hàng
- Lấy Danh Sách Đơn Hàng
Overview
This node integrates with the Zalo Official Account (OA) API to update an existing category in the OA's store or content management system. It allows users to modify details such as the category's name, description, image URL, and display status.
Typical use cases include:
- Renaming a product or content category to reflect updated branding.
- Changing the description to provide more accurate or appealing information.
- Updating the category image to keep visuals fresh.
- Toggling the visibility of a category between shown or hidden states.
For example, a business using Zalo OA to manage their online store can automate category updates when launching new campaigns or reorganizing products.
Properties
| Name | Meaning |
|---|---|
| ID Danh Mục | The unique identifier of the category to update (required). |
| Tên Danh Mục | The new name for the category. |
| Mô Tả Danh Mục | The new description text for the category. |
| URL Hình Ảnh Danh Mục | The new URL pointing to the category's image. |
| Trạng Thái Danh Mục | The new display status of the category; options are "Hiển Thị" (show) or "Ẩn" (hide). |
Output
The node outputs a JSON object representing the response from the Zalo OA API after attempting to update the category. This typically includes fields indicating success or failure, updated category data, and any error messages if applicable.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Zalo Official Account API v3.0.
- Needs a valid API access token credential with permissions to manage categories.
- The node uses HTTP POST requests to the endpoint
/store/category/updateon the Zalo OA API. - Proper configuration of credentials and environment variables for authentication tokens is necessary.
Troubleshooting
Common Issues:
- Invalid or missing category ID will cause the update to fail.
- Insufficient permissions or expired access tokens may result in authorization errors.
- Providing invalid URLs for images or malformed input data can cause API rejections.
Error Messages:
"Please check the category ID and parameters."— Indicates that the category ID or other parameters are incorrect or missing.- API errors related to access tokens suggest checking token validity and refresh mechanisms.
- Network or HTTP errors should be checked by verifying connectivity and API endpoint availability.
Resolution Tips:
- Ensure the category ID exists and is correct.
- Verify that the access token is current and has the required scopes.
- Validate all input fields, especially URLs and status values.
- Consult Zalo OA API documentation for the latest requirements and error codes.