Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
CONTACT

CONTACT UPDATE

POST /contact/update/:id

Request
{
"name":"<<name_string>>",
"email": "<<email>>",
"type": enum["doctor","pharmacy","hospital"],
"address": {
"street": "<<address_street>>",
"locality": "<<address_locality>",
"city": "<<address_city>",
"pincode": "<<pincode>>",
"latitude": "<<map_pin_latitude>>",
"longitude": "<<map_pin_longitude>>"
},
"image": "<<base64_string>>",
"about": "<<desc_contact_string>>",
}
Response (Success)
{
"status":true,
"code":"CONTACT_UPDATE_SUCCESS",
"payload":{
"id":"<<contact_id>>",
"created_at":"<<date_time_string>>",
"updated_at":"<<date_time_string>>",
}

}

Response (Error)
{
"status": false,
"code": "CONTACT_UPDATE_FAILED",
"message": "Bad request"
}

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.