curl --request PATCH \
--url http://localhost:3000/v1/nodes/{id}/operating-hours \
--header 'Content-Type: application/json' \
--data '
{
"operating_hours": {
"periods": [
{
"open": {
"day": 3,
"time": "<string>"
},
"close": {
"day": 3,
"time": "<string>"
}
}
]
}
}
'{
"success": true,
"node": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"is_active": true,
"timezone": "<string>",
"sweep_cutoff_minutes": 123,
"sweep_cutoff_time": "<string>",
"retailer_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"logo_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"operating_hours": "<unknown>"
}
}Updates a node’s operating hours.
curl --request PATCH \
--url http://localhost:3000/v1/nodes/{id}/operating-hours \
--header 'Content-Type: application/json' \
--data '
{
"operating_hours": {
"periods": [
{
"open": {
"day": 3,
"time": "<string>"
},
"close": {
"day": 3,
"time": "<string>"
}
}
]
}
}
'{
"success": true,
"node": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"is_active": true,
"timezone": "<string>",
"sweep_cutoff_minutes": 123,
"sweep_cutoff_time": "<string>",
"retailer_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"logo_url": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"operating_hours": "<unknown>"
}
}