curl --location 'https://api.checkandplace.com/v1/reservations' \
--header 'CheckandPlace-Access-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"revenue_center_id": "3b274567-7234-4972-bc6c-e8795c241942",
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"customer": {
"first_name": "string",
"last_name": "string",
"primary_phone_number": "string",
"email": "string"
},
"table_id": "ac92386a-00cc-4818-bf43-1a666d5a5e67",
"table_ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"guest_count": 0,
"date": "2024-05-06 21:00",
"estimated_discharged_at": "2024-05-06 21:00",
"note": "string",
"male_cover": 0,
"female_cover": 0,
"child_cover": 0,
"make_a_reservation": true
}'{
"reservation": {
"id": "621e2403-92b7-4b8a-879a-62657a072f23",
"type": "reservation",
"status": "init",
"date": "2024-05-06T21:00:00+03:00",
"estimated_discharged_at": "2024-05-06T23:00:00+03:00",
"discharged_at": null,
"created_at": "2024-05-06T18:00:00+03:00",
"assigned_at": null,
"guest_count": 5,
"occupied_seat_count": 0,
"male_cover": 0,
"female_cover": 0,
"child_cover": 0,
"note": "Test note",
"hotel_room_number": "101",
"revenue_center_id": "9e4ad964-784c-4dbc-9f7d-f37b4abf73be",
"child_revenue_center_id": null,
"store_id": "91556c3e-593e-41d9-8313-8c5da96d7969",
"table_id": "6c9f60bb-12a2-4028-ad88-ca3f3a8ee52e",
"table_ids": [
"1b9eaaca-7687-45ab-b914-a8d18c7c26e3"
],
"table_names": "T1",
"customer": {
"id": "f79ae4b4-4fdd-4d0f-9cfb-9513155e89f4",
"first_name": "John",
"last_name": "Doe",
"type_name": "normal"
},
"check": null,
"reservation_payment": null,
"public_url": "https://app.checkandplace.com/public/voucher?slug=abc123&language=en"
}
}