Skip to main content
GET
/
v1
/
customers
/
{id}
Recuperar detalhes de customer
curl --request GET \
  --url https://api.malga.io/v1/customers/{id} \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "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>",
    "zipCode": "<string>",
    "country": "BR",
    "state": "<string>",
    "city": "<string>",
    "district": "<string>",
    "complement": "<string>"
  }
}

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string<uuid>
required

id do customers que deseja recuperar

Response

Success

id
string

identificador do customer

createdAt
string

data de criação

clientId
string<uuid>

identificador do client

name
string

nome do usuario

email
string

email do usuario

phoneNumber
string

telefones de contato do usuario

document
object
address
object