method/editBooking

Requires

  • module:method/getUserToken

Methods

(async, inner) editBooking(bookingID, eventID, performerID, clientID, date, startTime) → {object}

Source:

Edit an existing booking record

Parameters:
Name Type Description
bookingID number

Booking ID of the booking record.

eventID number

ID of the service used for the booking record.

performerID number

ID of the service provider used for the booking record.

clientID number

ID of the client the booking record was under.

date string

The new date of the booking record, e.g. '2020-03-06'.

startTime string

The new booking start time of the booking record, e.g. '15:30:00'.

Returns:

An object containing data related to the booking record.

Type
object

(inner) getUserToken() → {string}

Source:

Get an authentication token string to connect with SimplyBook

Returns:

An authentication token for a certain registered user

Type
string

Requires

  • module:method/getUserToken

Methods

(async, inner) editBooking(bookingID, eventID, performerID, clientID, date, startTime) → {object}

Source:

Edit an existing booking record

Parameters:
Name Type Description
bookingID number

Booking ID of the booking record.

eventID number

ID of the service used for the booking record.

performerID number

ID of the service provider used for the booking record.

clientID number

ID of the client the booking record was under.

date string

The new date of the booking record, e.g. '2020-03-06'.

startTime string

The new booking start time of the booking record, e.g. '15:30:00'.

Returns:

An object containing data related to the booking record.

Type
object

(inner) getUserToken() → {string}

Source:

Get an authentication token string to connect with SimplyBook

Returns:

An authentication token for a certain registered user

Type
string