Skip to content

Update holiday hours entry

PUT
/v1/brands/{brandId}/profile/{locationId}/holiday-hours/{id}
curl --request PUT \
--url https://kynectlocal-production.up.railway.app/v1/v1/brands/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/profile/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/holiday-hours/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
brandId
required
string format: uuid

Brand identifier

locationId
required
string format: uuid

Location identifier

id
required
string format: uuid

Holiday hours entry identifier

Success

Media type application/json
object
data
required
object
holidayHour
required
object
id
required

Holiday hours entry identifier

string format: uuid
locationId
required

Location identifier

string format: uuid
date
required

Date in YYYY-MM-DD format

string
label
required

Holiday label (e.g., “Christmas Day”)

string | null
isClosed
required

Whether the location is closed on this date

boolean
openTime
required

Opening time (HH:MM) when not closed

string | null
closeTime
required

Closing time (HH:MM) when not closed

string | null
createdAt
required

Creation timestamp

string format: date-time
Example generated
{
"data": {
"holidayHour": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"locationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"date": "example",
"label": "example",
"isClosed": true,
"openTime": "example",
"closeTime": "example",
"createdAt": "2026-04-15T12:00:00Z"
}
}
}

Validation error

Media type application/json
object
error
required

Error envelope

object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string
details

Additional context, e.g. validation field errors

Example generated
{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}

Unauthenticated

Media type application/json
object
error
required

Error envelope

object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string
details

Additional context, e.g. validation field errors

Example generated
{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}

Forbidden

Media type application/json
object
error
required

Error envelope

object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string
details

Additional context, e.g. validation field errors

Example generated
{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}

Not found

Media type application/json
object
error
required

Error envelope

object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string
details

Additional context, e.g. validation field errors

Example generated
{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}

Unprocessable

Media type application/json
object
error
required

Error envelope

object
code
required

Machine-readable error code

string
message
required

Human-readable error description

string
details

Additional context, e.g. validation field errors

Example generated
{
"error": {
"code": "example",
"message": "example",
"details": "example"
}
}