Update Custom Field

To update a particular custom field using the id.

Update a custom field

Below is sample cURL request to update a custom field. Use raw JSON format to call the API. Length of the array while update action should be one only.

curl --location 'https://api.evitalrx.in/v1/custom_fields/add_update_custom_field' \
--header 'Content-Type: application/json' \
--data '{
  "apikey":"**************",
  "action": "update",
   "custom_fields": [
    {
      "id": "oyESErpn5eM/lQZPgEvxRw==",
      "attribute_key": "patient_mapped_id",
      "module":"customers"
    }
   ]
}
'

POSThttps://api.evitalrx.in/v1/custom_fields/add_update_custom_field

Request Body

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2024-09-24 15:14:36",
    "data": null
}

Last updated