Crea un registro de de domicilio asociado a un cliente.
| Name | Description |
|---|---|
| postal_code | Codigo postal |
| street_address | Nombre de la calle |
| street_number | Altura de la calle |
| document_type | Tipo de documento |
| telephone_number | Numero de telefono |
| city | Ciudad |
| country | Pais. Recomendamos usar el alpha3 de nuestro endpoint para paises |
Content-Type: application/json Authorization: <integration-token> Authorization-Client: Bearer <jwt-token> Host: example.org Cookie:
POST /hooks/clients/100/domiciles
{"postal_code":"C1489","street_address":"Rivadavia","street_number":"1234","telephone_number":"999999","city":"Caba"}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/json; charset=utf-8 ETag: W/"cc60401d89256c41c10448cd926ee9a0" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 021fe9d1-21b8-45ec-8ddd-0a517529c751 X-Runtime: 0.072560 Vary: Origin Content-Length: 354
200 OK
{
"data": {
"id": 23,
"city": "Caba",
"street_address": "Rivadavia",
"street_number": "1234",
"telephone_number": "999999",
"postal_code": "C1489",
"state": "checking",
"user_type": "User",
"user_id": 100,
"floor": null,
"created_at": "2023-04-28T21:44:49.000Z",
"updated_at": "2023-04-28T21:44:49.000Z",
"region": null,
"country": null,
"used_to": "kyc",
"apartment": null,
"alias": null
}
}