KiotViet icon

KiotViet

Interact with KiotViet

Customer → Get List Customers

AI-generated

Overview

This node interacts with the KiotViet API to retrieve a list of customers. It is useful for scenarios where you need to fetch customer data in bulk, such as for CRM integration, customer analysis, or syncing customer information with other systems. For example, you can use it to get a paginated list of customers by specifying the page size and the starting item ID.

Use Case Examples

  1. Fetch 20 customers starting from the first record to display in a dashboard.
  2. Retrieve customers in batches for data migration or backup purposes.

Properties

Name Meaning
Page Size Specifies the number of customers to retrieve in one API call, enabling pagination.
Current Item ID Specifies the starting point (offset) for the list of customers to retrieve, used for pagination.

Output

JSON

  • json - The JSON response containing the list of customers retrieved from the KiotViet API.

Dependencies

  • Requires an API key credential for KiotViet API authentication to obtain an access token.

Troubleshooting

  • If the node throws an error 'Get access_token failed', it means the authentication with KiotViet API failed. Check the API credentials and ensure they are correctly configured.
  • If an 'Unknown operation' error occurs, verify that the operation parameter is set to 'getCustomers' for this resource.
  • If an 'Unknown resource' error occurs, ensure the resource parameter is set to 'customer'.
  • Pagination parameters (Page Size and Current Item ID) must be valid numbers; otherwise, the API request may fail.

Discussion