Zalo OA icon

Zalo OA

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

Zalo OA → Lấy Danh Sách Danh Mục

AI-generated

Summary

Retrieve a paginated list of product categories from the Zalo Official Account store.

Inputs

  • offset — Number indicating the starting position in the list of categories (default is 0).
  • count — Number specifying how many categories to retrieve (default is 10, maximum 50).

Output shape

a single JSON object containing the list of categories under the data field and additional response metadata.

The operation calls the Zalo OA API endpoint /store/category/getcategoryofoa with pagination parameters. The count parameter is limited to a maximum of 50. On error, the output JSON includes error details. The response data includes category details which can be used in subsequent workflow steps.

Examples

Example 1: Retrieve the first 10 categories starting from position 0.

Set offset to 0 and count to 10 (default). The output JSON contains up to 10 categories starting from the beginning of the category list.

Discussion