Delete Custom Fields

To delete custom field using the id.

Delete one or more custom fields.

Below is a Sample cURL request to delete particular custom fields.

curl --location 'localhost:4000/v1/custom_fields/add_update_custom_field' \
--header 'Content-Type: application/json' \
--data '{
  "apikey":"**************",
  "action": "delete",
  "custom_fields": [
        {
            "id": "5wP6t/dlZrIzNqssQLUUbQ==",
            "attribute_key": "zipcode",
            "module": "customers"
        },
        {
            "id": "iZ4zlQnA1LpIEiZ+i0D25Q==",
            "attribute_key": "prescription_id",
            "module": "customers"
        }
   ]
}
'

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

Request Body

{
    "status_code": "1",
    "status_message": "Success",
    "datetime": "2024-10-01 10:24:18",
    "data": null
}

Last updated