GET/schedule

Get Schedule

Retrieves the list of active schedules. Optionally, a specific schedule can be retrieved by passing an ID as a query parameter.
GET/schedule

Optional Fields

  • id

Implementation Notes

Retrieves the list of active schedules. Optionally, a specific schedule can be retrieved by passing an ID as a query parameter.

Parameter Details

NameInTypeRequiredDescription
idqueryintegerOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKSchedule(s) retrieved successfullyInline
400Bad RequestBad RequestNone
401UnauthorizedAuthentication Failed or Account validity ExpiredNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET /schedule \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
{
  "scheduleId": 0,
  "scheduleName": "string",
  "shopId": 0,
  "year": "string",
  "month": "string",
  "dow": "string",
  "day": "string",
  "hour": "string",
  "minute": "string",
  "startDate": "2019-08-24",
  "endDate": "2019-08-24"
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.