Wiki
Clone wikiAPI-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 https://acme-sandbox.l27.co
with https://<your subdomain>.launch27.com
Replace BEARER_FROM_LOGIN with bearer
from Login
curl -H "Content-Type: application/json" \ -H 'Authorization: Bearer BEARER_FROM_LOGIN' \ -X GET -k \ https://acme-sandbox.l27.co/latest/customer/bookings/count
Response
- 401 Unauthorized on login failure.
- 403 Forbidden if user is not customer user.
- 200 OK on success.
Updated