Ir al contenido

Listar clientes del equipo

GET
/teams/{teamId}/clients
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

teamId
required
string format: uuid

ID del equipo (UUID)

Lista de clientes

Media typeapplication/json
object
clients
Array<object>
object
id
string format: uuid
teamId
string format: uuid
name
string
nameRelated
string
nullable
description
string
nullable
rfc
string
nullable <= 13 characters
email
string format: email
nullable
phone
string
nullable
cfdiUse
string
default: G03
taxRegime
string
default: 601
zipCode
string
nullable
status
string
Allowed values: ACTIVE INACTIVE SUSPENDED
address
object
street
string
<= 300 characters
extNumber
string
<= 50 characters
intNumber
string
<= 50 characters
neighborhood
string
<= 100 characters
city
string
<= 100 characters
state
string
<= 100 characters
country
string
default: Mexico <= 100 characters
zipCode
string
<= 10 characters
creditLimit
integer
paymentTerms
integer
<= 365
notes
string
nullable
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"
}