Zalo OA icon

Zalo OA

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

Zalo OA → Lấy Danh Sách Sản Phẩm

AI-generated

Summary

Retrieve a list of products from the Zalo Official Account store with pagination support.

Inputs

  • offset — Starting index position in the product list from which to begin retrieval. Defaults to 0.
  • count — Number of products to fetch starting from the offset. Defaults to 10, with a maximum of 50.

Output shape

a single JSON object containing the list of products matching the specified parameters

The operation returns the product list data from the Zalo OA API response inside the JSON output. The 'count' parameter is capped at 50. The response includes any error details if the API call fails.

Examples

Example 1: Retrieve the first 10 products

offset set to 0, count set to 10

Example 2: Retrieve the next 20 products

offset set to 10, count set to 20

Discussion