PUT/schedule

Update Schedule

This endpoint allows updating an existing schedule using its scheduleId.
PUT/schedule

Optional Fields

  • dow

Implementation Notes

This endpoint allows updating an existing schedule using its scheduleId.

Parameter Details

NameInTypeRequiredDescription
bodybodyobjectRequirednone
» scheduleIdbodynumberRequirednone
» scheduleNamebodystringRequirednone
» shopIdbodynumberRequirednone
» yearbodystringRequirednone
» monthbodystringRequirednone
» dowbodystringOptionalnone
» daybodystringRequirednone
» hourbodystringRequirednone
» minutebodystringRequirednone
» startDatebodystring(date)Requirednone
» endDatebodystring(date)Requirednone

Responses

StatusMeaningDescriptionSchema
200OKSchedule updated 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 PUT /schedule \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Body parameter

{
  "scheduleId": 123,
  "scheduleName": "Updated Schedule",
  "shopId": 1,
  "year": "2025",
  "month": "1,2,3",
  "dow": "*",
  "day": "1-5",
  "hour": "10",
  "minute": "30",
  "startDate": "2019-08-24",
  "endDate": "2019-08-24"
}

Example responses

200 Response
{
  "message": "Schedule Updated Successfully",
  "scheduleId": 123
}

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.