---
title: "Update earnest money deposit"
method: PATCH
path: "/api/files/sales/{saleGuid}/earnestMoneyDeposit"
tags: ["Earnest money deposit"]
---

# Update earnest money deposit

`PATCH /api/files/sales/{saleGuid}/earnestMoneyDeposit`

Patches earnest-money-deposit fields for the specified sale. Only fields supplied in the patch are updated. Invalid patch value types return 422. DatePostedToLogBook and DateOfCheck are normalized to date-only values.

### Validation & Requirements
#### Required Parameters
- `saleGuid` (path, string, format=guid)

#### Required JSON Body Fields
- None

#### Validations
- Invalid GUID values in `*Guid`/`*Guids` fields return `422 Unprocessable Entity`.
- Invalid date values in `*date*` fields return `422 Unprocessable Entity`.
- Missing required request body returns `422 Unprocessable Entity` with `Missing request body.`.
- Additional business-rule validation may return `422` with details in the `errors` array.

#### Integration Requirement
- Retrieve the corresponding `...Form` endpoint immediately before write operations to get current dynamic required fields and allowed values.

## Path parameters

- `saleGuid` string, guid, required

## Query parameters

- `IsEarnestMoneyHeld` boolean, nullable
- `DepositAmount` number, nullable
- `DepositDueDate` string, date-time, nullable
- `DatePostedToLogBook` string, date-time, nullable
- `DateOfCheck` string, date-time, nullable
- `AdditionalDepositAmount` number, nullable
- `AdditionalDepositDueDate` string, date-time, nullable

## Response `200`

- LinkedResponseOfPatchEarnestMoneyDepositResponse
  - `value` PatchEarnestMoneyDepositResponse
    - `saleGuid` string, guid
    - `isEarnestMoneyHeld` boolean, nullable
    - `depositAmount` number, nullable
    - `depositDueDate` string, date-time, nullable
    - `datePostedToLogBook` string, date-time, nullable
    - `dateOfCheck` string, date-time, nullable
    - `additionalDepositAmount` number, nullable
    - `additionalDepositDueDate` string, date-time, nullable
  - `warnings` string[], nullable
  - `links` Link[], nullable
    - `href` string, nullable
    - `rel` string, nullable
    - `method` string, nullable

## Other responses

- `404`
- `422`

---

[API](https://skmtc.net/skyslope/apis/skyslope-api.md) · [All operations](https://skmtc.net/skyslope/apis/skyslope-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skyslope/skyslope-api/revisions/bad0d2db9b7a/schema)
