grubhub · Example Payload

Grubhub Menu Example

Grubhub Menu Example is an example object payload from grubhub, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

merchant_idschedules

Example Payload

Raw ↑
{
  "merchant_id": "ghm-1234567890",
  "schedules": [
    {
      "external_id": "id-1234567890",
      "name": "Margherita Pizza",
      "availability": [
        {
          "day_of_week": "THURSDAY",
          "start_time": "sample-value",
          "end_time": "sample-value"
        }
      ],
      "sections": [
        {
          "external_id": "id-1234567890",
          "name": "Margherita Pizza",
          "items": [
            {}
          ]
        }
      ]
    }
  ]
}