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
header
required
X-Api-Key
string
header
required

Path Parameters

id
string
required

id do customers que deseja recuperar

Response

200
application/json
Success

The response is of type object.