Delete Customer
Table of Contents
Purpose
To delete a customer from Zoho Bookings.
Request URL
https://www.zohoapis.com/bookings/v1/json/deletecustomer
Headers
| Parameter Name | Description |
|---|---|
| Authorization | Zoho-oauthtoken {{accesstoken}} |
Note: The access token can be generated from the developer console.
Scope
zohobookings.data.CREATE
Request Method
POST
Parameters
Parameters to be passed in the request body as form-data along with the request URL are,
| Parameter Name | Description |
|---|---|
| customerMap* | The map containing the details to be updated. Refer to the below parameters. |
| ID | Customer ID to be deleted. To learn how to obtain ID, refer to this section. |
Response Type
JSON
Points to consider
- Delete limit: You can delete only one customer per request.
- Upcoming appointments: A customer cannot be deleted if they have upcoming appointments.
- Customer ID: It can be obtained from the URL when a customer is selected in Zoho Bookings.
Example → Here the highlighted data is the Customer ID.
https://bookings.zoho.com/#/home/dashboard/settings/customer/4059929000005951032/summary/customer-info?clview=false
Related Links
Sample Request
Copied{
"id": 150220000000558268
}Sample Response
Copied{
"response": {
"returnvalue": {
"message": "Customer deleted successfully..",
"status": "success"
},
"status": "success"
}
}