Zalo OA icon

Zalo OA

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

Zalo OA → Lấy Danh Sách Đơn Hàng

AI-generated

Summary

Retrieve a list of orders from the Zalo Official Account with optional pagination and status filtering.

Inputs

  • offset — Number indicating the starting position (offset) of the order list to return; defaults to 0.
  • count — Number specifying how many orders to retrieve; defaults to 10.
  • status — Filter orders by status; options include all, pending, confirmed, shipping, delivered, and canceled, with default 'all'.

Output shape

A JSON object containing the list of orders matching the specified offset, count, and status parameters.

The response is paginated based on the offset and count parameters. Orders are filtered by the selected status value. Errors during retrieval will be reflected in the output JSON.

Examples

Example 1: Fetch first 10 orders with status 'confirmed'.

Set 'offset' to 0, 'count' to 10, and 'status' to 'confirmed'. The node calls the Zalo OA API to return matching order data.

Discussion