Update Opening Hours
Developing
Request
Body Params application/json
{
"vendorId": "829b790c-74da-4841-98d9-fe18ebd856b5",
"day": "saturday",
"open": null,
"close": null
}
Request samples
curl --location --request PATCH '/openingHours' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI5MjA0ZTc3Yy1iY2EyLTQxOTAtOGMyNi00MzBlNjA1ZmExMzMiLCJyb2xlIjoidmVuZG9yIiwiaWF0IjoxNzQzMTM3NDUyLCJleHAiOjE3NDU3Mjk0NTJ9.3GNmS1IJbFTmTJk_GvnQtEpvNSIXhyX1631wPAQzwxk' \
--header 'Content-Type: application/json' \
--data-raw '{
"vendorId": "829b790c-74da-4841-98d9-fe18ebd856b5",
"day": "saturday",
"open": null,
"close": null
}'
Responses
application/json {
"id": "string",
"vendorId": "string",
"day": "string",
"open": null,
"close": null,
"createdAt": "string",
"updatedAt": "string"
}
Modified at 2025-03-28 05:46:45