> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Stage WordPress field edits

PATCH`/project/doc/{docId}/wp`

Save edits to the post's fields, such as its slug, excerpt or categories, to send with the next push.

## Path Parameters

`docId`

stringrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/project/doc/{docId}/wp'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/project/doc/{docId}/wp', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/project/doc/{docId}/wp"

response = requests.patch(url)

print(response.text)
```
