- bookings
- bookings-financial
- bookings-personal
How do i retrieve personal and financial information from bookings?
Code: Select all
{
"success": true,
"type": "booking",
"count": 100,
"pages": {
"nextPageExists": true,
"nextPageLink": "https://api.beds24.com/v2/bookings?page=2"
},
"data": [
{
"id": 306XXXX,
"masterId": null,
"propertyId": 14XXX,
"roomId": 316XXX,
"unitId": 1,
"roomQty": 1,
"offerId": 0,
"status": "confirmed",
"subStatus": "none",
"arrival": "2022-XX_XX",
"departure": "2022-XX-XX",
"numAdult": 8,
"numChild": 0,
"country": "ru",
"country2": "RU",
"arrivalTime": "",
"voucher": "",
"comments": "",
"notes": "",
"message": "",
"groupNote": "",
"custom1": "",
"custom2": "",
"custom3": "",
"custom4": "",
"custom5": "",
"custom6": "",
"custom7": "",
"custom8": "",
"custom9": "",
"custom10": "",
"flagColor": "",
"flagText": "",
"statusCode": 0,
"lang": "ru",
"referer": "Airbnb",
"refererEditable": "Airbnb",
"reference": "",
"apiSourceId": 46,
"apiSource": "Airbnb",
"apiReference": "XXXXXXXX",
"allowChannelUpdate": "all",
"allowAutoAction": "enable",
"allowReview": "disable",
"invoiceeId": null,
"bookingTime": "2022-05-05T18:54:07Z",
"modifiedTime": "2022-05-05T18:54:07Z",
"cancelTime": null
},
...
}
Code: Select all
{
"success": true,
"type": "booking",
"count": 100,
"pages": {
"nextPageExists": true,
"nextPageLink": "https://api.beds24.com/v2/bookings?page=2"
},
"data": [
{
"id": 30xxxxx,
"masterId": null,
"propertyId": 4xxxxxxx,
"roomId": 10xxxx,
"unitId": 3,
"roomQty": 1,
"offerId": 1,
"status": "request",
"subStatus": "none",
"arrival": "2022-xxx",
"departure": "2022-xxxxx",
"numAdult": 4,
"numChild": 0,
"title": "",
"firstName": "",
"lastName": "Paul XXXXXXXXXXXxxx",
"email": "l.scXXXXXXXXXXXX",
"phone": "",
"mobile": "",
"fax": "",
"company": "",
"address": "RudolfXXXXXXXXXXx",
"city": "",
"state": "",
"postcode": "",
"country": "",
"country2": null,
"arrivalTime": "",
"voucher": "",
"comments": "",
"notes": "",
"message": "",
"groupNote": "",
"custom1": "",
"custom2": "",
"custom3": "",
"custom4": "",
"custom5": "",
"custom6": "",
"custom7": "",
"custom8": "",
"custom9": "",
"custom10": "",
"flagColor": "",
"flagText": "",
"statusCode": 0,
"lang": "de",
"referer": "starkesaxxxxx",
"refererEditable": "starkesxxxxx",
"reference": "",
"apiSourceId": 0,
"apiSource": "Direct",
"apiReference": "",
"allowChannelUpdate": "all",
"allowAutoAction": "enable",
"allowReview": "disable",
"invoiceeId": null,
"bookingTime": "2022-05-06T16:51:02Z",
"modifiedTime": "2022-05-06T16:51:43Z",
"cancelTime": null,
"price": 3031.6,
"deposit": 0,
"tax": 0,
"commission": 0,
"rateDescription": "XXXXXXXXXXXXXXX",
"stripeToken": null,
"apiMessage": ""
},
....
}
Code: Select all
https://beds24.com/api/v2/bookings?includeInvoiceItems=true