Update Pending Shifts
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Edit shifts that are in the pending stage. Given the Zeal Shift ID and the fields and values to change, Zeal will update the shift. The shift MUST still be in the pending stage.
Returns
Returns response status and a list of the updated Shift Object.
| attributes | types | description |
|---|---|---|
| success | boolean | Response status |
| data | array | List of updated Shift Object |
| errors | array | Contains list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
companyID
string
required
Company ID of the employer
shifts
array of strings
required
List of Shift Object fields. The patchable fields are the actual shift time & earning components.
shifts*
ADD string
``200 200
``400 400
Updated 7 months ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request PATCH \n
--url https://api.zeal.com/shifts \n
--header 'accept: application/json' \n
--header 'content-type: application/json'
application/json
200 - Result400 - Result
Updated7 months ago