Discussions

Ask a Question
Back to All

Api infoemazions

I wonder if there is any way to pass fees, stay, taxes etc when we create the reservation from the API
when I enter the values of a reservation on my computer that goes to your portal it returns {
"id": 8974630,
"user_id": 560755,
"arrival": "2024-04-10",
"departure": "2024-04-13",
"property_id": 550409,
"rooms": [
{
"room_type_id": 617116,
"people": 0,
"key_code": ""
}
],
"guest": {
"name": "Giulio Delmastro",
"email": "[email protected]",
"phone": "3313408994",
"country_code": null
},
"language": "en",
"status": "Booked",
"attempt_expires_at": null,
"source": "PublicApi",
"source_text": "website",
"created_from_ip": "176.9.85.188",
"created_at": "2024-03-01T15:41:17",
"updated_at": "2024-03-01T15:41:18",
"canceled_at": null,
"is_new": true,
"is_deleted": false,
"currency_code": "EUR",
"total_amount": 168.85,
"subtotals": {
"stay": 0,
"promotions": 0,
"fees": 0,
"taxes": 0,
"addons": 0,
"vat": null
},

this is what I read about the reservation made on the site when I retrieve it from the Lodgify API... basically the fields we need are zero
I'm referring to totals
subtotals > stay etc