Query Parameters
número da página
quantidade de itens por página
ordenação dos itens
Available options:
ASC
, DESC
identificador de um customer
tipo de documento
numero do documento
Response
Success
curl --request GET \
--url https://api.malga.io/v1/customers \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"items": [
{
"id": "<string>",
"createdAt": "<string>",
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"document": {
"type": "<string>",
"number": "<string>",
"country": "BR"
},
"address": {
"street": "<string>",
"streetNumber": "<string>",
"complement": "<string>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>"
}
}
]
}
curl --request GET \
--url https://api.malga.io/v1/customers \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"items": [
{
"id": "<string>",
"createdAt": "<string>",
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"document": {
"type": "<string>",
"number": "<string>",
"country": "BR"
},
"address": {
"street": "<string>",
"streetNumber": "<string>",
"complement": "<string>",
"zipCode": "<string>",
"country": "BR",
"state": "<string>",
"city": "<string>",
"district": "<string>"
}
}
]
}
número da página
quantidade de itens por página
ordenação dos itens
ASC
, DESC
identificador de um customer
tipo de documento
numero do documento
Success
Show child attributes
Was this page helpful?