Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Business → Set Business Hours
AI-generatedSummary
Sets business hours for a ZeDAPI business resource with optional mode, timezone, schedule, and request settings
Inputs
- timezone (required) — The timezone for business hours (IANA format)
- mode (required) — The business hours mode (always_open, appointment_only, specific_hours)
- daysJson — JSON array of day configurations with open/close hours (used when mode is specific_hours)
- requestOptions — Additional request configuration including batching, SSL validation, proxy, and timeout options.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation fails.
- proxy — HTTP proxy to use, optionally with authentication credentials.
- timeout — Timeout in milliseconds to wait for server response
Output shape
no body — success/failure only
Returns HTTP 204 on success; errors are returned as API error objects (e.g., 4xx/5xx).
Examples
Example 1: Configure business hours to be always open
Set mode to always_open; timezone can be provided; other fields omitted.
Example 2: Set specific hours for weekdays 9am-5pm in São Paulo timezone
mode specific_hours; timezone America/Sao_Paulo; daysJson with schedule for Monday-Friday 09:00-17:00; optional batching settings.