Person Retrieval
GET/v1/api/people/:id
This API endpoint allows the retrieval of existing people. It enables clients to access person details based on specific criteria provided in the request parameters.
Clients can send a GET request to this endpoint with appropriate parameters, such as people ID, name, address, to retrieve the desired person information.
The endpoint ensures flexibility by allowing various filtering options, enabling clients to narrow down the search results based on their specific requirements.
Upon successful retrieval, the client application will receive a response containing detailed information about the requested person, including personal details, loyalty information, address data and any additional preferences or special requests.
In case of errors or if the requested person is not found, the response structure is designed to provide appropriate error messages, facilitating efficient error handling and resolution.
Request
Path Parameters
Responses
- 200
GetPersonResponse()
- application/json
- Schema
- Example (from schema)
Schema
Nome.
Sobrenome.
Email.
Telefone.
CPF.
Passaporte.
Data de nascimento.
País de origem.
Origem de cadastro.
Rua.
Número.
CEP.
Complemento.
Bairro.
Cidade.
Estado.
Possible values: [ADULT
, CHILD
, null
]
Adulto ou criança.
Nível fidelidade.
Opt-in fidelidade.
Default value: true
{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"cpf": "string",
"passport": "string",
"dob": "string",
"country": "string",
"registrationSource": "string",
"addressStreetName": "string",
"addressNumber": "string",
"addressZipCode": "string",
"addressAdditionalInformation": "string",
"addressDistrict": "string",
"addressCity": "string",
"addressState": "string",
"loyaltyLevel": "string",
"loyaltyOptIn": true,
"id": "string",
"creationDate": "string",
"enabled": true
}