grubhub · JSON Structure

Grubhub Menuscheduleoverriderequest Structure

A request to create or update menu schedule overrides for a merchant.

Type: object Properties: 1

MenuScheduleOverrideRequest is a JSON Structure definition published by grubhub, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

overrides

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-menuscheduleoverriderequest-structure.json",
  "name": "MenuScheduleOverrideRequest",
  "description": "A request to create or update menu schedule overrides for a merchant.",
  "type": "object",
  "properties": {
    "overrides": {
      "type": "array",
      "description": "List of schedule overrides to apply.",
      "items": {
        "type": "object",
        "properties": {
          "external_id": {
            "type": "string",
            "description": "External identifier for the schedule being overridden."
          },
          "available": {
            "type": "boolean",
            "description": "Whether the schedule should be active or inactive."
          },
          "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."
          }
        }
      }
    }
  }
}