Booth Reservations
Business+Manage booth reservations.
Required scopes:
booths
Feature flag:
booths
Endpoints
GET
/api/v1/booth-reservations
List all reservations
GET
/api/v1/booth-reservations/{id}
Retrieve a single reservation
POST
/api/v1/booth-reservations
Create a new reservation
PUT/PATCH
/api/v1/booth-reservations/{id}
Update a reservation
DELETE
/api/v1/booth-reservations/{id}
Cancel a reservation
Query Parameters
| Parameter | Description |
|---|---|
event_key
|
Filter by event key |
booth_id
|
Filter by booth ID |
participant_id
|
Filter by participant ID |
status
|
Filter by reservation status (pending, confirmed, cancelled) |
sort
|
Sort field (booth_number, status, created_at, reserved_at, final_price) |
order
|
Sort direction (ASC or DESC, default: DESC) |
include
|
Include related data (booth, participant) |
Request Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
booth_id
|
integer | Yes | Booth ID to reserve (required) |
event_participant_id
|
integer | Yes | Participant ID for the reservation (required) |
status
|
string | No | Reservation status (pending, confirmed, cancelled) |
notes
|
string | No | Internal notes |
final_price
|
float | No | Final negotiated price |
cancellation_reason
|
string | No | Reason for cancellation (used when updating status to cancelled) |
Response Schema
| Field | Type |
|---|---|
id
|
integer |
booth_id
|
integer |
event_participant_id
|
integer |
status
|
string |
reserved_at
|
string|null |
confirmed_at
|
string|null |
cancelled_at
|
string|null |
cancellation_reason
|
string|null |
final_price
|
float|null |
price_breakdown
|
object|null |
notes
|
string|null |
created_by
|
integer|null |
created_at
|
string |
updated_at
|
string |
Code Examples
curl -X GET "https://your-tenant.plandocket.com/api/v1/booth-reservations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://your-tenant.plandocket.com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $baseUrl . '/api/v1/booth-reservations',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
print_r($data);
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://your-tenant.plandocket.com';
const response = await fetch(`${baseUrl}/api/v1/booth-reservations`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
import requests
api_key = 'YOUR_API_KEY'
base_url = 'https://your-tenant.plandocket.com'
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json',
}
response = requests.get(f'{base_url}/api/v1/booth-reservations', headers=headers)
data = response.json()
print(data)
Sample Response
200 OK
{
"data": {
"booth-reservation_id": 1,
"created_at": 1704067200,
"updated_at": 1704067200
},
"meta": {
"request_id": "req_abc123"
}
}