List customers
kiotviet_list_customersList customers (code, name, phone, email, address, debt, total invoiced, reward points, groups). Contains personal data of the shop's customers. Filter by code, name, phone, group or last change. GET /customers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Customer code. | |
| name | No | Filter by customer name. | |
| group_id | No | Only customers in this customer group. | |
| order_by | No | Sort field. | |
| page_size | No | Records per page, 1-100 (default 20). | |
| current_item | No | Record offset to start from (0 = first record). Pass the previous reply's next_item. | |
| include_total | No | Include financial totals (debt, total invoiced, points). | |
| contact_number | No | Filter by phone number. | |
| order_direction | No | Sort direction. | |
| last_modified_from | No | Only records changed at or after this date-time (shop local time). | |
| include_customer_group | No | Include each customer's groups. |