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.auto_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 int32idempotency_keystringOptional MCP-safety idempotency key. When present with API-token auth, repeated calls with the same fingerprint within the TTL window replay the cached response instead of re-creating the shift preset. Ignored for session auth.ignore_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_reassignmentlocations_position_idint32required≥ 1Updating locations_position_id of a shift will unassign all employees from the shift and their evaluations will be deletedmanager_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_idint32≥ 1ID of an exisiting shift presetstarts_atdate-timerequiredDate-time (ISO 8601) for the begin of the object's span.ends_atdate-timerequiredDate-time (ISO 8601) for the end of the object's span.tag_idsarray of objectsArray of Shift Tag IDs (including from shift presets)tag_idsADD int32untimedbooleanDefaults to falseStandby shifttruefalseuntimed_break_timeint32≥ 1Untimed breaks in minutes (Required unless break_time is present)update_connectedbooleanDefaults to falseUpdate connected shifts if value is truetruefalseworkersint32required≥ 1Number of workersResponses 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 4 months ago v1/shifts/{id}v1/shifts/{id}/available_employmentsDid this page help you?YesNo