Tiendanube - Get Customers
Description
Section titled “Description”This module allows querying the customer base of a Tiendanube store. It can get a specific customer by ID or list customers with search and date filters.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- Store ID: Your store ID
- Access Token: OAuth2 access token
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Tiendanube credentials |
| customer_id | string | No | Specific customer ID |
| q | string | No | Search by name, email, or phone |
| created_at_min | string | No | Minimum creation date |
| created_at_max | string | No | Maximum creation date |
| updated_at_min | string | No | Minimum update date |
| updated_at_max | string | No | Maximum update date |
| per_page | number | No | Results per page (default: 50) |
| page | number | No | Page number (default: 1) |
Output
Section titled “Output”{ "success": true, "customers": [...], "count": 50, "page": 1, "per_page": 50, "message": "50 customers retrieved"}Customer Fields
Section titled “Customer Fields”id: Customer IDname: Full nameemail: Emailphone: Phoneidentification: Identity document (DNI/CUIT/CPF)note: Internal notedefault_address: Main addressbilling_address: Billing addressaccepts_marketing: Accepts marketingtotal_spent: Total spentorders_count: Number of orderscreated_at: Creation date
Usage Example
Section titled “Usage Example”Get customer by ID
Section titled “Get customer by ID”{ "customer_id": "12345"}Search by email
Section titled “Search by email”{ "q": "cliente@email.com"}Last month’s customers
Section titled “Last month’s customers”{ "created_at_min": "2024-01-01", "created_at_max": "2024-01-31"}API Used
Section titled “API Used”- Endpoint:
GET /v1/{store_id}/customers - Documentation: Tiendanube Customers API
- The
qparameter searches in name, email, and phone - Customers include saved address information
total_spentis the customer’s total purchase amountorders_countis the number of orders placed
Related Nodes
Section titled “Related Nodes”- TiendanubeCreateCustomer - Create a new customer
- TiendanubeUpdateCustomer - Update customer data
- TiendanubeGetOrders - Get customer orders