Clone wiki

API-2.0 / Get_count_of_bookings_for_customer

Method: GET

Path: /customer/bookings/count

Count of active bookings for current customer user.

Query parameters:

See Get bookings for customer except limit, offset and sort

Example response JSON

  "count": 8

Example request:

For production, replace with https://<your subdomain>

Replace BEARER_FROM_LOGIN with bearer from Login

curl -H "Content-Type: application/json" \
     -H 'Authorization: Bearer BEARER_FROM_LOGIN' \
     -X GET -k \


  • 401 Unauthorized on login failure.
  • 403 Forbidden if user is not customer user.
  • 200 OK on success.