VMASS icon

VMASS

VMASS POS System Integration - Quản lý đơn hàng, sản phẩm, kho, khách hàng

Order → Get Many

AI-generated

Summary

Retrieve a paginated list of orders filtered by status and date range from the VMASS POS system.

Inputs

  • Filters — Collection of filters to limit the returned orders.
  • Limit — Maximum number of orders to return (default 20).
  • Page — Page number for pagination (default 1).
  • Status — Order status to filter by: All, Pending, Completed, or Cancelled (default All).
  • Date From — Start date (inclusive) to filter orders by creation date.
  • Date To — End date (inclusive) to filter orders by creation date.

Output shape

a list of order records

Returns an array of order objects matching the provided filters. Pagination is controlled via 'limit' and 'page' query parameters. The response data is the 'data' field from the API response, parsed as JSON objects.

Examples

Example 1: Retrieve first 20 completed orders created from 2023-01-01 to 2023-01-31

Set 'Filters' to { limit: 20, page: 1, status: 'completed', date_from: '2023-01-01T00:00:00Z', date_to: '2023-01-31T23:59:59Z' }.

Links

Discussion