Manage opening hours and special events.
The Calendar API allows you to programmatically manage your organization's availability, including standard opening hours and exceptional closures.
Oquira distinguishes between your regular schedule and specific calendar events.
Retrieve all events for a given period.
curl -X GET "https://api.oquira.com/v1/business/calendar?from=2024-03-01&to=2024-03-31" \
-H "X-API-Key: your_api_key_here"| Type | Description | Effect on Queue |
|---|---|---|
break | A scheduled pause (e.g., lunch) | New tickets accepted, but estimated wait time increases. |
closure | Exceptional closure (e.g., holiday) | No new tickets allowed. Existing ones may be cancelled. |
meeting | Internal meeting | Similar to a break. |
Use the calendar to notify your users in advance about upcoming closures:
{
"success": true,
"data": {
"events": [
{
"id": "evt_123",
"title": "Easter Holiday",
"type": "closure",
"date": "2024-03-31",
"allDay": true
}
]
}
}To update the default opening hours of a service, please refer to the Services documentation.