updateCustomerInfo( )


Updates the customer's information for a booking.

The updateCustomerInfo() function returns a Promise that resolves to a Booking object when the specified customer's information has been updated.

Notes:

  • The whole formInfo object is updated for each request. Values for properties that are not included in the request will therefore be deleted.
  • updateCustomerInfo() does not update the information for the corresponding contact or member. To update contacts or members use updateContact() or updateUserFields().
  • Only users with Bookings Admin permissions can update customer information for a booking. You can override the permissions by setting the suppressAuth options to true.
Method Declaration
Copy
Method Parameters
bookingIdstringRequired

ID of the booking to be updated.


formInfoFormInfoRequired

Updated form info and contact details.


optionsOptions

An object representing the available options for updating customer information.

Returns
Return Type:Promise<Booking>
Did this help?