BusinessHours__v2
The businessHours field accepts/returns objects for business hours per day. Hours must be specified for all days or none.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
businessHours | array of object | optional | Business hours for each day of the week |
businessHours[].day | string | required | Day of the week | SpecialMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAYSPECIAL |
businessHours[].slots | array of object | required | Array of time slots (minimum 1, maximum 2). Required only if type is OPEN. |
businessHours[].slots[].start | string | optional | Opening time. Valid formats: <HH>:<MM>am OR <HH>:<MM>pm |
businessHours[].slots[].end | string | optional | Closing time. Valid formats: <HH>:<MM>am OR <HH>:<MM>pm |
businessHours[].type | string | required | Type of business hours (e.g., OPEN, CLOSED, OPEN_24x7)OPENOPEN_24x7CLOSED |
businessHours[].specialDate | string | optional | Day should be SPECIAL. Regular hours is mandatory. Regular hours is mandatory for special hours to be allowed |