Sapo icon

Sapo

Interact with ZaloUser

Customer → Get List Customers

AI-generated

Overview

This node interacts with the Sapo API to retrieve a list of customers. It is useful for scenarios where you need to fetch customer data from a Sapo store, such as for CRM integration, data analysis, or syncing customer information with other systems. For example, you can use it to get paginated customer lists, filter by specific fields, or retrieve customers updated since a certain ID.

Use Case Examples

  1. Fetch the first 20 customers from the Sapo store.
  2. Retrieve customers starting from a specific ID to get incremental updates.
  3. Get a list of customers with only selected fields to optimize data usage.

Properties

Name Meaning
Page The page number of the customer list to retrieve, used for pagination.
Limit The maximum number of customers to retrieve per request.
Since ID Retrieve customers with IDs greater than this value, useful for incremental data fetching.
Fields Specify which customer fields to include in the response, allowing for customized data retrieval.

Output

JSON

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

Dependencies

  • Requires an API key credential for authenticating requests to the Sapo API.

Troubleshooting

  • Common issues include invalid API credentials, resulting in authentication errors.
  • Incorrect parameter values such as negative page numbers or invalid since_id may cause API errors.
  • Network issues or API downtime can lead to request failures; retrying or checking API status is recommended.

Links

Discussion