put https://api-smartflo.tatateleservices.com/v1/contact/
This API allows you to update contacts in contact group.
Sample Request
curl --request PUT \
--url https://api-smartflo.tatateleservices.com/v1/contact/id \
--header 'accept: application/json'📘 Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to update contact in contact group:
| Variable Name | Description | Data Type |
|---|---|---|
| id | Unique ID of the contact in contact group. | string |
Request Variables (Body Params)
The following parameter is required to update contact in contact group:
| Variable Name | Description | Data Type |
|---|---|---|
| field_0* | Phone number of contact. | String |
| field_1 | Name of contact. | String |
| field_2 | Email ID of contact. | String |
| field_3 | Address of contact. | String |
| field_4 | Company name of contact. | String |
| field_5 | Custom Field 1. | String |
| field_6 | Custom Field 2. | String |
| field_7 | Custom Field 3. | String |
| field_8 | Custom Field 4. | String |
| field_9 | Custom Field 5. | String |
| field_10 | Custom Field 6. | String |
| field_11 | Custom Field 7. | String |
| field_12 | Custom Field 8. | String |
| field_13 | Custom Field 9. | String |
| field_14 | Custom Field 10. | String |
| field_15 | Custom Field 11. | String |
Response Variables
The response returned is as following:
| Variable Name | Description | Data Type |
|---|---|---|
| Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
| Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |
A successful request returns the HTTP 200 OK status code and a JSON response body as detailed below:
{
"success" : true,
"message" : "Contact updated"
}