For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.
 You are using an out of date browser, we suggest you upgrade. You may continue if you wish, but aspects of the site may not function correctly.


Members in Bookingbug is referred to as clients (your consumers). There are two types of clients.

  1. Contact
  2. Member

The contact type is like a guest, and does not need an account. The member has an account, where they can login to view their upcoming/past bookings, edit personal details and view invoices. A member needs to authenticate to access their account.

Authenticate Member

The authentication process is the same as explained under the Authentication section. Auth Token must be supplied to all subsequent member API calls.

View Member

Once authenticated you can view the members details with the following method.

 GET /api/v1/{company_id}/members/{member_id} 
curl -X GET -H "App-Id: {app-id}" -H "App-Key: {app-key}" -H "Content-Type: application/json"
  -H "Cache-Control: no-cache"
  -H "Auth-Token: {auth-token}"
  "id": 3016159,
  "name": "Test Member",
  "first_name": "Test",
  "last_name": "Member",
  "comp_ref": "",
  "client_type": "Member",
  "email": "",
  "address1": "",
  "address2": "",
  "address3": "",
  "address4": "",
  "address5": "",
  "postcode": "",
  "country": "United Kingdom",
  "phone": "",
  "phone_prefix": "44",
  "mobile": "",
  "mobile_prefix": "44",
  "auth_token": "{auth-token}",
  "path": "",
  "company_id": 50579,
  "has_active_wallet": false,
  "default_company_id": 50666,
  "has_wallet": false,
  "answers": [],
  "_embedded": {
    "bookings": []

Edit Member

Members can update their personal details. The following parameters are available.


Name Type Description
first_name string first name of the member
last_name string Last name of the member
email string email address of the member
mobile string Mobile number of the member
address1 string address line 1
address2 string address line 2
address3 string address line 3
address4 string address line 4
address5 string address line 5
postcode string Postcode
counrty string Country
 PUT /api/v1/{company_id}/members/{member_id} 

Below is a cURL call updating first and last name of a member.

curl -X PUT -H "App-Id: {app-id}" -H "App-Key: {app-key}" -H "Content-Type: application/json"
  -H "Auth-token: {auth-token}"
  -H "Cache-Control: no-cache"
  -d '{
  "first_name": "Bookingbug",
  "last_name": "User"

View Bookings

A member can view thier bookings using the following API method.

GET /api/vi/{company_id}/members/{member_id}/bookings


Name Type Description
company_id string Company ID the member belongs to
member_id string Authenticated member ID
start_date string Start date to filter the booking from
end_date string End date to filter the booking
include_cancelled string include_cancelled=yes, include cancelled bookings
page integer page number to display
per_page integer Number of bookings to display per page
curl -X GET -H "App-Id: {app-id}" -H "App-Key: {app-key}" -H "Content-Type: application/json"
  -H "Auth-Token: {auth-token}"
  -H "Cache-Control: no-cache"