Schedules
Update a schedule.
Changed onRequired scope: schedules:write </br>Organization authorization: supported
put/api/v1/schedules/{id}
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/schedules/{id}
- AuthHTTP bearer
Path parameters
idinteger required
Request body
Example request
{
"name": "Weekday Hours",
"price_group_id": 99,
"timezone": "Europe/Copenhagen",
"entries": [
{
"id": 12,
"from": "08:00:00",
"to": "18:00:00",
"price_group_id": 42
}
]
}Response
The updated schedule
Example response
{
"id": 42,
"teamId": 12,
"name": "Weekday Hours",
"timezone": "Europe/Copenhagen",
"priceGroupId": 99,
"entryCount": 5,
"entries": [
{
"id": 12,
"from": "08:00:00",
"to": "18:00:00",
"priceGroupId": 42
}
],
"createdAt": "2023-03-16T15:37:23Z",
"updatedAt": "2023-03-16T15:37:23Z"
}Changes
- breaking
added to the
//request propertyallOflist - breaking
added to the
request propertyallOflist - warning
removed from the
//request propertyallOflist - warning
removed from the
request propertyallOflist - info
added to the
//response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status
- breaking