PATCH/desk/api/v2/businesshours/{id}.json
Update a businesshour.
Update all the given properties for this resource. Any omitted properties will be unchanged.
Path Params
- Name
id
- Type
- integer
- required
- Description
Body Params
BusinessHourAPIBody handles the get/create/update request/response for businesshour.
- Name
businesshour
- Type
- object
- Description
- BusinessHour represents a BusinessHour.
- Name
included
- Type
- object
- Description
- Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
BusinessHourAPIBody handles the get/create/update request/response for businesshour.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
200 OK
BusinessHourAPIBody
{ "businesshour": { "businesshourholidays": [ { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any" }, "type": 0 } ], "businesshourschedules": [ { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any"