# RequestQueueClientRequestToUpdate<!-- -->

A request as the caller submits it to an update of a stored one.

The update addresses that request by its id, which a stored request always carries, so the shape is [RequestResource](https://docs.apify.com/api/client/js/reference/interface/RequestResource.md) unchanged. The name stays published as the argument type of `updateRequest()`.

### Hierarchy

* [RequestResource](https://docs.apify.com/api/client/js/reference/interface/RequestResource.md)
  * *RequestQueueClientRequestToUpdate*

## Index[](#Index)

### Properties

* [errorMessages](#errorMessages)
* [handledAt](#handledAt)
* [headers](#headers)
* [id](#id)
* [loadedUrl](#loadedUrl)
* [lockByClient](#lockByClient)
* [lockExpiresAt](#lockExpiresAt)
* [method](#method)
* [noRetry](#noRetry)
* [payload](#payload)
* [retryCount](#retryCount)
* [uniqueKey](#uniqueKey)
* [url](#url)
* [userData](#userData)

## Properties<!-- -->[](#Properties)

### [](#errorMessages)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7634)optionalinheritederrorMessages

errorMessages?

<!-- -->

: null | string\[]

Inherited from RequestResource.errorMessages

```
null
```

Error messages recorded from failed processing attempts.

### [](#handledAt)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7640)optionalinheritedhandledAt

handledAt?

<!-- -->

: null | Date

Inherited from RequestResource.handledAt

Format: date-time

```
2019-06-16T10:23:31.607Z
```

The timestamp when the request was marked as handled, if applicable.

### [](#headers)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7623)optionalinheritedheaders

headers?

<!-- -->

: null | Record\<string, unknown>

Inherited from RequestResource.headers

```
null
```

HTTP headers sent with the request.

### [](#id)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7658)inheritedid

id: string

Inherited from RequestResource.id

### [](#loadedUrl)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7613)optionalinheritedloadedUrl

loadedUrl?

<!-- -->

: null | string

Inherited from RequestResource.loadedUrl

```
https://apify.com/jobs
```

The final URL that was loaded, after redirects (if any).

### [](#lockByClient)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7666)optionalinheritedlockByClient

lockByClient?

<!-- -->

: string

Inherited from RequestResource.lockByClient

```
my-client-key
```

Key of the client that last locked the request. It is set when the request is locked and removed only by an explicit unlock or by an update of the request, so it can still be present after the lock has expired.

### [](#lockExpiresAt)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7660)optionalinheritedlockExpiresAt

lockExpiresAt?

<!-- -->

: Date

Inherited from RequestResource.lockExpiresAt

The timestamp when the lock on this request expires. Only present while the request is locked.

### [](#method)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7607)optionalinheritedmethod

method?

<!-- -->

: GET | HEAD | POST | PUT | DELETE | CONNECT | OPTIONS | TRACE | PATCH

Inherited from RequestResource.method

### [](#noRetry)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7629)optionalinheritednoRetry

noRetry?

<!-- -->

: null | boolean

Inherited from RequestResource.noRetry

```
false
```

Indicates whether the request should not be retried if processing fails.

### [](#payload)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7618)optionalinheritedpayload

payload?

<!-- -->

: null | string | Record\<string, unknown>

Inherited from RequestResource.payload

```
null
```

The request payload, typically used with POST or PUT requests.

### [](#retryCount)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7608)optionalinheritedretryCount

retryCount?

<!-- -->

: number

Inherited from RequestResource.retryCount

### [](#uniqueKey)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7605)inheriteduniqueKey

uniqueKey: string

Inherited from RequestResource.uniqueKey

### [](#url)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7606)inheritedurl

url: string

Inherited from RequestResource.url

### [](#userData)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L7624)optionalinheriteduserData

userData?

<!-- -->

:

<!-- -->

{}

Inherited from RequestResource.userData

#### Type declaration

