v1/shifts/{id}Copy Pageput https://shyftplan.com/api/v1/shifts/{id}Updates existing shiftPath Paramsidint32requiredQuery Paramsassignment_group_ids[]array of int32sArray of AssignmentGroup IDassignment_group_ids[]ADD int32shift_rotation_group_ids[]array of int32sList of shift-sytesm group IDs.shift_rotation_group_ids[]ADD int32Body Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.ends_atdate-timerequiredEnd of the shiftlocations_position_idint32requiredUpdating locations_position_id of a shift will unassign all employees from the shift and their evaluations will be deletedstarts_atdate-timerequiredStart of the shiftworkersint32requiredNumber of workersauto_acceptstringenumAuto accept shift requests as long as there are open slots on the shiftdisabledwarningenforcedAllowed:disabledwarningenforcedbreak_timeint32Break duration in minutes (Required unless untimed_break_time is present)can_evaluatebooleanDefaults to trueEmployees can create evaluationstruefalseevaluation_tag_idsarray of int32sArray of EvaluationTag IDs (including from shift presets)evaluation_tag_idsADD int32ignore_conflictsstringDefaults to trueEither true to ignore all conflicts listed below or an Array of specific conflicts to ignore. Only warnings can be ignored, enforced conflicts will persist. Possible values are: shifts_collisionabsences_collisionlocations_position_changedminimum_breakmaximum_working_hoursminimum_restmaximum_earningoutside_employment_periodmaximum_consecutive_working_daysrestricted_shift_presetsunavailablenot_availableminimum_qualification_levelnot_in_shift_presetpunch_timing_reassignmentmanager_notestringManager note for the ShiftmetadatastringShift metadata as jsonnotestringNote for the shiftqualificationsarray of objectsArray of qualifications (type and number)qualificationsADD objectshift_breaksarray of objectsArray of timed shift breaksshift_breaksADD objectshift_preset_idint32ID of an exisiting shift presettag_idsarray of int32sArray of Shift Tag IDs (including from shift presets)tag_idsADD int32untimedbooleanDefaults to falseStandby shifttruefalseuntimed_break_timeint32Untimed breaks in minutes (Required unless break_time is present)update_connectedbooleanDefaults to falseUpdate connected shifts if value is truetruefalseResponses 200Successfully connected 400evaluation_break, untimed_breaks are mutually exclusive 401Unauthorized 403forbidden 404Couldn't find Shift\n Couldn't find Company\n Couldn't find LocationsPosition\n Shift Presets not found\n Shift-system not found\n Qualifications not found\n Couldn't find ShiftPreset 422422Updated 3 months ago v1/shifts/{id}v1/shifts/{id}/available_employmentsDid this page help you?YesNo