Migrated from Redmine #1416 | Author: Igor Peg
Status: New | Priority: Normal | Created: 2025-05-28
When I create a booking using the endpoint
POST https://user-api-v2.simplybook.me/admin/bookings,
I am unable to include client data in the booking.
I am sending the following data. The booking is created successfully, but the client information is missing:
{
"start_datetime": "2025-05-30T12:00:00.000Z",
"service_id": 12,
"category_id": 3,
"provider_id": "any",
"count": 1,
"products": [],
"client": {
"name": "ABC Test",
"email": "i.abc@test.com",
"phone": "+4917641470355"
}
}
Is there something wrong with the way I am passing the client data, or is there a different field I should be using?