> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Patch

# Function: patch()

Issue an HTTP PATCH (partial update). Convenience wrapper around
[fetcher](./fetcher).

## Call Signature

> **patch**\<`T`>(`url`, `body?`, `options?`, `params?`): `Effect`\<`T`, [`FetcherValidationError`](../classes/FetcherValidationError) | [`FetcherError`](../classes/FetcherError), `HttpClient`>

Defined in: [packages/http/src/fetcher.ts:674](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/http/src/fetcher.ts#L674)

### Type Parameters

#### T

`T` = `unknown`

### Parameters

#### url

`string`

#### body?

`any`

#### options?

[`FetcherOptions`](../interfaces/FetcherOptions)\<`T`>

#### params?

### Returns

`Effect`\<`T`, [`FetcherValidationError`](../classes/FetcherValidationError) | [`FetcherError`](../classes/FetcherError), `HttpClient`>

## Call Signature

> **patch**\<`S`>(`url`, `body`, `options`, `params?`): `Effect`\<`Type`\<`S`>, [`FetcherValidationError`](../classes/FetcherValidationError) | [`FetcherError`](../classes/FetcherError), `HttpClient`>

Defined in: [packages/http/src/fetcher.ts:681](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/http/src/fetcher.ts#L681)

### Type Parameters

#### S

`S` *extends* `SyncSchema`\<`Type`\<`S`>>

### Parameters

#### url

`string`

#### body

`any`

#### options

[`FetcherOptions`](../interfaces/FetcherOptions)\<`Type`\<`S`>> & `object`

#### params?

### Returns

`Effect`\<`Type`\<`S`>, [`FetcherValidationError`](../classes/FetcherValidationError) | [`FetcherError`](../classes/FetcherError), `HttpClient`>
