Zalo OA icon

Zalo OA

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

Zalo OA → Cập Nhật Sản Phẩm

AI-generated

Summary

Update an existing product in the Zalo Official Account store by specifying its product ID and optionally modifying its name, price, description, code, category, photos, and display status.

Inputs

  • ID Sản Phẩm (required) — The unique identifier of the product to update.
  • Tên Sản Phẩm — New name of the product.
  • Giá Sản Phẩm — New price of the product in VND.
  • Mô Tả Sản Phẩm — New description of the product.
  • Mã Sản Phẩm — New code of the product.
  • URL Hình Ảnh Sản Phẩm — Comma-separated URLs of new product images.
  • Trạng Thái Sản Phẩm — New display status of the product, either 'Hiển Thị' (show) or 'Ẩn' (hide).

Output shape

a JSON object with the API response indicating success or failure of the product update operation

Response includes details from Zalo OA API about the updated product or an error message on failure. The operation updates product fields specified by the inputs; unspecified fields remain unchanged.

Discussion