Domicilio API

Crea un registro de de domicilio.

Crear un registro de domicilio

POST /internal/v1/clients/domiciles

Parameters

Name Description
postal_code Codigo postal
street_address Nombre de la calle
street_number Altura de la calle
telephone_number Numero de telefono
city Ciudad
floor Piso
service Foto del servicio

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Host: example.org
Cookie: 

Route

POST /internal/v1/clients/domiciles

Body

{"postal_code":"C1489","street_address":"Rivadavia","street_number":"1234","telephone_number":"999999","city":"Caba","floor":"12","service":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fb1c3a47780\u003e","content_type":"text/plain"}}

Response

Headers

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/"d82ae7a0e3f7b6de01afe820d34e2219"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4edd384d-52e2-4808-948b-fbdf66ee5836
X-Runtime: 0.125711
Vary: Origin
Content-Length: 355

Status

200 OK

Body

{
  "data": {
    "id": 13,
    "city": "Caba",
    "street_address": "Rivadavia",
    "street_number": "1234",
    "telephone_number": "999999",
    "postal_code": "C1489",
    "state": "checking",
    "user_type": "User",
    "user_id": 7777,
    "floor": "12",
    "created_at": "2023-04-19T17:15:26.000Z",
    "updated_at": "2023-04-19T17:15:26.000Z",
    "region": null,
    "country": null,
    "used_to": "kyc",
    "apartment": null,
    "alias": null
  }
}