Listar clientes del equipo
GET
/teams/{teamId}/clients
const url = 'https://api.dev.lade.com.mx/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clients';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.dev.lade.com.mx/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clients \ --header 'Authorization: Bearer <token>'Lista todos los clientes de un equipo
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»teamId
required
string format: uuid
ID del equipo (UUID)
Responses
Sección titulada «Responses»Lista de clientes
Media typeapplication/json
object
clients
Array<object>
object
id
string format: uuid
teamId
string format: uuid
name
string
nameRelated
string
description
string
rfc
string
email
string format: email
phone
string
cfdiUse
string
taxRegime
string
zipCode
string
status
string
address
object
street
string
extNumber
string
intNumber
string
neighborhood
string
city
string
state
string
country
string
zipCode
string
creditLimit
integer
paymentTerms
integer
notes
string
createdAt
string format: date-time
Example
{ "clients": [ { "cfdiUse": "G03", "taxRegime": "601", "status": "ACTIVE", "address": { "country": "Mexico" } } ]}No autenticado
Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{ "error": "Unauthorized", "message": "Invalid or expired token"}Sin permisos
Media typeapplication/json
object
error
required
string
message
string
field
string
Example
{ "error": "Forbidden", "message": "You don't have permission to access this resource"}