curl --location --globoff 'https://.daftra.com/api2/invoice_appointments' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"InvoiceAppointments": {
"item_id": 137,
"date": "2026-07-10 10:00:00",
"end_date": "2026-07-09 09:00:00",
"duration": "1",
"action_id": 5,
"body": "test",
"status": 5,
"staff_id": [
1
],
"recurring": true
},
"RecurringAppointment": {
"unit_name": "weekly",
"end_date": "2026-12-01"
}
}'