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 product information in a Zalo OA store. It allows users to modify details of an existing product such as its name, price, description, code, images, and display status.
Typical use cases include:
- Updating product details when prices change or descriptions need correction.
- Changing product visibility on the store by toggling its status between visible ("Hiển Thị") and hidden ("Ẩn").
- Refreshing product images by providing new image URLs.
For example, a business owner using Zalo OA can automate updating their product catalog whenever inventory changes or promotions occur, ensuring customers always see accurate product information.
Properties
| Name | Meaning |
|---|---|
ID Sản Phẩm (productId) |
The unique identifier of the product to update (required). |
Tên Sản Phẩm (name) |
New name for the product. |
Giá Sản Phẩm (price) |
New price of the product in Vietnamese Dong (VND). |
Mô Tả Sản Phẩm (description) |
New description text for the product. |
Mã Sản Phẩm (code) |
New product code or SKU. |
URL Hình Ảnh Sản Phẩm (photos) |
Comma-separated URLs of new product images. |
Trạng Thái Sản Phẩm (status) |
Display status of the product; options are "Hiển Thị" (show) or "Ẩn" (hide). |
Output
The node outputs JSON data representing the response from the Zalo OA API after attempting to update the product. This typically includes:
- Confirmation of the updated product details.
- Status codes or messages indicating success or failure.
- Error information if the update failed.
No binary data output is involved in 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 store products.
- The node uses HTTP POST requests to the endpoint
/store/product/updateon the Zalo OA API. - Proper configuration of credentials and environment variables for authentication tokens is necessary.
Troubleshooting
Common Issues:
- Invalid or missing
productIdwill cause the update to fail. - Incorrect or expired API access tokens will result in authentication errors.
- Providing malformed image URLs or unsupported formats may cause image update failures.
- Insufficient permissions on the API token can lead to authorization errors.
- Invalid or missing
Error Messages:
"Please check the product ID and parameters."— Indicates invalid or missing product ID or other required fields."Error updating product:"followed by error details — General failure during the update process; check API response for specifics.- Network or timeout errors — Ensure stable internet connection and that the Zalo OA API service is reachable.
Resolution Tips:
- Verify the product ID exists in the Zalo OA store before updating.
- Refresh or reauthenticate API tokens if expired.
- Validate all input fields, especially URLs and numeric values.
- Check API permissions granted to the connected account.