v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Working Hours

Get store working hours

Retrieve or update the weekly serving hours that aggregators use to show store availability. Grubtech will use GET to fetch the current schedule and PUT to replace the full weekly schedule.

get/stores/{storeId}/working-hours

Path parameters

storeIdstring required

Unique identifier of the store in Grubtech. This may be the Grubtech store ID or your external mapping ID.

Response

Store working hours retrieved

Example response

{
  "servingHours": [
    {
      "dayOfWeek": "MONDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "TUESDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "WEDNESDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "THURSDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "FRIDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "SATURDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    },
    {
      "dayOfWeek": "SUNDAY",
      "timePeriods": [
        {
          "start": "00:00",
          "end": "23:59"
        }
      ]
    }
  ]
}