curl --location --request POST 'https://api.checkandplace.com/api/v1/off-days' \
--header 'Authorization: <api-key>' \
--header 'EMPLOYEE_TOKEN: <api-key>' \
--header 'STORE_PIN_CODE: <api-key>' \
--header 'SLUG_NAME: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"revenue_center_id": "3b274567-7234-4972-bc6c-e8795c241942",
"child_revenue_center_ids": [
null
],
"type": 0,
"date": "2024-05-06 23:00",
"end_date": "2024-05-06 23:00",
"active_for_reservations": true,
"active_for_online": true,
"active_for_requests": true,
"is_note_visible": true,
"partial": true,
"start_time": "09:00",
"end_time": "13:00",
"days": [
0
],
"translations": [
{
"locale": "en",
"text": "Off Day"
},
{
"locale": "tr",
"text": "Kapalı Gün"
},
{
"locale": "de",
"text": "Ruhetag"
},
{
"locale": "ru",
"text": "Выходной день"
}
]
}'