Discussions
API create booking
8 months ago by Mariusz
Hi, while creating booking via API with dummy data:
{
room_id: 2469605,
checkin: "2024-03-21T00:00:00",
checkout: "2024-03-22T00:00:00",
name: "adam",
country: "en",
guests: 1,
nights: 1,
price: 10000,
total: 10000,
prepay: 0,
}
i get 400
data: {
type: 'https://tools.ietf.org/html/rfc7231#section-6.5.1',
title: 'One or more validation errors occurred.',
status: 400,
traceId: '00-245483fd6faa1aa3e9ed882e9e2ba1e4-934d5335d0e7272e-00',
errors: [Object]
}
which data im missing in req?