Add-Update Address

POST https://api.evitalrx.in/v1/patient/addresses/add_update

Request Body

NameTypeDescription

apikey*

String

Authentication token

patient_id*

String

Unique ID of patient

address_name*

String

Valid Values: "home" | "work"

Address type

address_id

String

Unique ID of address, If provided, it will update the address associated with this ID.

If this ID is not provided, then new address will be inserted.

address*

String

Address of the patient

address_line2

String

Area, street or Landmark of the patient address.

zipcode

String

Pincode of the patient's address.

latitude*

Number

GPS co-ordinate of the patient's address.

longitude*

Number

GPS co-ordinate of the patient's address.

{
    "status_code": "1",
    "status_message": "Address updated successfully",
    "datetime": "2023-10-31 11:50:05",
    "data": {
        "address_name": "home",
        "address": "Kurubarahalli",
        "address_line2": "Bengaluru, Karnataka 562162",
        "city": "Bangalore",
        "state": "Karnataka",
        "country": "India",
        "zipcode": "562130",
        "latitude": "11",
        "longitude": "72",
        "is_default": "no",
        "id": "r6ISwkWxJLDDhxprrJ0D8w=="
    }
}

Last updated