API referenceBooking
Search Bookings
Search bookings based on filters.
GET
/bookingcurl -X GET "https://dash.lockii.app/api/v1/booking" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
limitnumberqueryDefault:15statusenum<string>queryOne of:allactiveupcomingreturnedcancelledDefault:allorderByenum<string>queryOne of:createdAtnumberstartHireDateendHireDatepriceInCentsDefault:numberquerystringqueryCustomer name, email, phone, or booking number. Omit if unused. Never pass an empty string.
dateRangeobjectqueryHire overlap window in epoch milliseconds. Omit if unused. Never pass 0. Pass as a JSON string.
createdAtRangeobjectqueryCreated-at window in epoch milliseconds. Omit if unused. Pass as a JSON string.
totalRangeobjectqueryPrice filter in whole dollars. Omit if unused. Never pass 0. Pass as a JSON string.
productIDstringquerystockIDstringquerycategoryIDstringquerylocationIDstringqueryminEndHireDatenumberquerypaymentStatusesenum<string>[]queryOmit unless filtering to paid or unpaid. An empty array matches nothing — do not pass it as a default. Pass as a JSON string.
One of:paidunpaidrequirePickupbooleanquery
Response
application/json
JSON result for this operation.
object
{}