Update Customer

Purpose

To update an existing customer in Zoho Bookings.

Request URL

https://www.zohoapis.com/bookings/v1/json/updatecustomer

Headers

Parameter NameDescription
AuthorizationZoho-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 NameDescription
customerMap*The map containing the details to be updated. Refer to the below parameters.
IDCustomer ID to be updated.
To learn how to obtain ID, refer to this section.
name*
or
first_name*
last_name*
Name of the customer to be updated.
or
First name of the customer to be updated. 
Last name of the customer to be updated.
emailCustomer email to be updated.
phone_numberCustomer phone number to be updated.

Response Type

JSON

Points to consider


  • Update limit: You can update only one customer per request.

  • 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{
  "data": {
    "id": 150220000000558268,
    "name": "Peter John",
    "email": "peter.john@zylker.com",
    "contact_number": "+11345678901"
  }
}

Sample Response

Copied{
  "response": {
    "returnvalue": {
      "id": "150220000000558268",
      "name": "Peter John",
      "email": "peter.john@zylker.com",
      "contact_number": "+11345678901",
      "type": "Guest",
      "status": "success"
    },
    "status": "success"
  }
}