GET
/
v1
/
customers
/
{id}
curl --request GET \
  --url https://api.malga.io/v1/customers/{id} \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "id": "82aba896-9e37-45b6-aa90-d510c9050596",
  "clientId": "cc0b1e41-2936-45c5-947f-93995ffcdc00",
  "createdAt": "2012-06-30 23:59:59 +0000",
  "name": "Customer test",
  "email": "jose2@gmail.com",
  "document": {
    "number": "97055503019",
    "type": "cpf",
    "country": "BR"
  },
  "phoneNumber": "21 98889999099",
  "address": {
    "country": "BR",
    "state": "Rio de Janeiro",
    "city": "Rio de Janeiro",
    "district": "Leblon",
    "zipCode": "25650011",
    "street": "Av Geraldo Cardoso",
    "streetNumber": "205",
    "complement": "Apto 203"
  }
}

Authorizations

X-Client-Id
string
headerrequired
X-Api-Key
string
headerrequired

Path Parameters

id
string
required

id do customers que deseja recuperar

Response

200 - application/json
id
string

identificador do customer

createdAt
string

data de criação

clientId
string

identificador do client

name
string

nome do usuario

email
string

email do usuario

phoneNumber
string

telefones de contato do usuario

document
object
address
object