curl --request GET \
--url https://api.tiendadepuntos.com/external/clients \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tiendadepuntos.com/external/clients"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tiendadepuntos.com/external/clients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tiendadepuntos.com/external/clients",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tiendadepuntos.com/external/clients"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tiendadepuntos.com/external/clients")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tiendadepuntos.com/external/clients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 84213,
"name": "Juan Manuel Pérez",
"first_name": "Juan Manuel",
"last_name": "Pérez",
"email": "juanma@mailinator.com",
"dni": "40100800",
"document_number": "40100800",
"document_type": "DNI",
"phone": "+541164593678",
"gender": 0,
"affiliate_card": "00012345",
"score": 1250,
"total_score": 8400,
"description": null,
"birthday": "1990-01-01T00:00:00.000Z",
"status": "ACTIVE",
"created_at": "2026-02-14T12:30:00.000Z",
"last_transaction": "2026-07-28T18:05:00.000Z",
"purchases_counter": 7,
"reads_counter": 32,
"level": {
"id": 3,
"name": "Nivel 2"
}
}
],
"meta": {
"totalItems": 128,
"itemCount": 10,
"itemsPerPage": 10,
"totalPages": 13,
"currentPage": 1,
"from": 1,
"to": 10
},
"links": {
"first": "external/clients?page=1&limit=10",
"previous": null,
"next": "external/clients?page=2&limit=10",
"last": "external/clients?page=13&limit=10",
"path": "external/clients",
"firstPageUrl": "external/clients?page=1&limit=10",
"lastPageUrl": "external/clients?page=13&limit=10"
}
}{
"statusCode": 400,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Error de validación",
"errors": [
{}
],
"data": {}
}{
"statusCode": 401,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Api key is invalid",
"errors": [
{}
],
"data": {}
}{
"statusCode": 404,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Client not found",
"errors": [
{}
],
"data": {}
}Listar clientes
Devuelve los clientes del comercio, paginados y ordenados por puntos disponibles descendente.
Para encontrar un cliente puntual por email o documento exacto conviene GET /external/clients/search; el parámetro query de este listado hace búsqueda parcial sobre nombre, email, documento, teléfono y tarjeta de afiliado.
Atención: este endpoint devuelve { data, meta, links } en la raíz, sin el envelope { success, status, message, data }.
curl --request GET \
--url https://api.tiendadepuntos.com/external/clients \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tiendadepuntos.com/external/clients"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tiendadepuntos.com/external/clients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tiendadepuntos.com/external/clients",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tiendadepuntos.com/external/clients"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tiendadepuntos.com/external/clients")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tiendadepuntos.com/external/clients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 84213,
"name": "Juan Manuel Pérez",
"first_name": "Juan Manuel",
"last_name": "Pérez",
"email": "juanma@mailinator.com",
"dni": "40100800",
"document_number": "40100800",
"document_type": "DNI",
"phone": "+541164593678",
"gender": 0,
"affiliate_card": "00012345",
"score": 1250,
"total_score": 8400,
"description": null,
"birthday": "1990-01-01T00:00:00.000Z",
"status": "ACTIVE",
"created_at": "2026-02-14T12:30:00.000Z",
"last_transaction": "2026-07-28T18:05:00.000Z",
"purchases_counter": 7,
"reads_counter": 32,
"level": {
"id": 3,
"name": "Nivel 2"
}
}
],
"meta": {
"totalItems": 128,
"itemCount": 10,
"itemsPerPage": 10,
"totalPages": 13,
"currentPage": 1,
"from": 1,
"to": 10
},
"links": {
"first": "external/clients?page=1&limit=10",
"previous": null,
"next": "external/clients?page=2&limit=10",
"last": "external/clients?page=13&limit=10",
"path": "external/clients",
"firstPageUrl": "external/clients?page=1&limit=10",
"lastPageUrl": "external/clients?page=13&limit=10"
}
}{
"statusCode": 400,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Error de validación",
"errors": [
{}
],
"data": {}
}{
"statusCode": 401,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Api key is invalid",
"errors": [
{}
],
"data": {}
}{
"statusCode": 404,
"timestamp": "2026-07-31T14:05:12.431Z",
"path": "/external/tags/add",
"method": "POST",
"message": "Client not found",
"errors": [
{}
],
"data": {}
}Authorizations
API key del comercio. Se genera desde el panel de Tienda de Puntos, en Configuración → Integraciones.
Query Parameters
Campo por el que ordenar.
fullName, currentPoints, lastOperation, createdAt Devuelve solo los clientes de este nivel. Los IDs salen de GET /external/levels.
3
Devuelve solo los clientes con esta etiqueta del comercio.
4
Puntos disponibles mínimos.
100
Puntos disponibles máximos.
5000
Clientes con última suma de puntos desde esta fecha (ISO 8601).
"2026-07-01"
Clientes con última suma de puntos hasta esta fecha (ISO 8601).
"2026-07-31"
x >= 11
Cantidad de resultados por página. Máximo 200.
1 <= x <= 20010
Búsqueda parcial por nombre.
"café"
Sentido del orden. Solo aplica si se envía order.
asc, desc 
