| 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](https://docs.zeal.com/reference/shift-object).

| attributes | types | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | array | List of updated [Shift Object](https://docs.zeal.com/reference/shift-object) |
| errors | array | Contains list of error objects which consists of:<br>`message`: Error message<br>`code`: Error code as described in [Error codes](https://docs.zeal.com/reference/error-codes) |

companyID

string

required

Company ID of the employer

shifts

array of strings

required

List of [Shift Object](https://docs.zeal.com/reference/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 - Result``400 - Result

Updated7 months ago
