grubhub · JSON Structure

Grubhub Scheduleoverriderequest Structure

Request to create a schedule override for temporary changes to operating hours.

Type: object Properties: 5 Required: 2

ScheduleOverrideRequest is a JSON Structure definition published by grubhub, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

start_date end_date closed time_windows reason

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-scheduleoverriderequest-structure.json",
  "name": "ScheduleOverrideRequest",
  "description": "Request to create a schedule override for temporary changes to operating hours.",
  "type": "object",
  "properties": {
    "start_date": {
      "type": "datetime",
      "description": "The start date and time of the override."
    },
    "end_date": {
      "type": "datetime",
      "description": "The end date and time of the override."
    },
    "closed": {
      "type": "boolean",
      "description": "Whether the merchant should be closed during this override period."
    },
    "time_windows": {
      "type": "array",
      "description": "Custom operating hours during the override period. Only applicable when closed is false.",
      "items": {
        "$ref": "#/components/schemas/TimeWindow"
      }
    },
    "reason": {
      "type": "string",
      "description": "Reason for the schedule override."
    }
  },
  "required": [
    "start_date",
    "end_date"
  ]
}