GET
/
v1
/
customers
/
:id
Recuperar clientes
curl --request GET \
  --url https://lojinha.dev/api/v1/customers/:id \
  --header 'Authorization: Bearer <token>'
{
  "customer": {
    "id": "7b16fb4f-6c54-4f7c-a751-3027b451b4ed",
    "externalId": null,
    "email": "wallacebatistaoliveira+customer@gmail.com",
    "createdAt": "2023-07-24T13:57:53.652Z",
    "updatedAt": null,
    "deletedAt": null
  }
}
Retorna os dados do cliente pelo id ou externalId
customer
object
{
  "customer": {
    "id": "7b16fb4f-6c54-4f7c-a751-3027b451b4ed",
    "externalId": null,
    "email": "wallacebatistaoliveira+customer@gmail.com",
    "createdAt": "2023-07-24T13:57:53.652Z",
    "updatedAt": null,
    "deletedAt": null
  }
}