Changes the deal's own fields: a field you omit keeps its value, a field sent as `null` is cleared. A deal from a closed project refuses the project's fields (`409`); correct them with `POST /api/v1/projects/{id}/close/correct`. A stale `If-Match` is `412`.
Path Parameters
- Type: stringidrequired
Deal id
Headers
- Type: stringIf
- Match The deal's etag; the change is refused when the deal has changed since
Body·
A partial update of a deal's own fields: a field you omit keeps its value, a field you send
as null is cleared. On a deal from a closed project the project's fields — price,
yield, dates, the portfolio pair — are refused with 409; correct them with
POST /api/v1/projects/{id}/close/correct.
Send the deal's etag as If-Match to refuse a change on a stale version (412).
- Type: null | booleancompleted
Is Planned Whether the completion date is only planned
- Type: null | stringFormat: datecompleted
On Completion date (omit to keep, null to clear)
- Type: null | booleanis
Portfolio Whether the deal is a portfolio
- Type: enumnullablelocation
Precision address, or area to show only the deal's area
valuesaddressarea - Type: null | stringname
The deal's name (omit to keep, null to clear)
- Type: nullablepriceProperties: 3
The price with currency and optional scale (omit to keep, null to clear)
- Type: null | booleanprice
Approximate Whether the price is approximate
- Type: enumnullableprice
Certainty confirmed, reported or estimated (omit to keep, null to clear)
valuesconfirmedreportedestimated - Type: null | booleanprice
Unknown Whether the price is known to be unknown
- Type: null | integerFormat: int32property
Count Number of properties in a portfolio (omit to keep, null to clear)
- Type: null | stringFormat: datesigned
On Signing date (omit to keep, null to clear)
- Type: null | stringstreet
Address The deal's street address; also on a deal from a closed project.
Responses
- application/json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
- application/problem+json
curl 'https://app.propstreet.com/api/v1/comps/{id}' \
--request PATCH \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"name": null,
"streetAddress": null,
"locationPrecision": "address",
"signedOn": null,
"completedOn": null,
"completedIsPlanned": null,
"price": {
"value": 0,
"currency": "",
"scale": ""
},
"priceCertainty": "confirmed",
"priceApproximate": null,
"priceUnknown": null,
"yield": null,
"yieldCertainty": "confirmed",
"yieldApproximate": null,
"isPortfolio": null,
"propertyCount": null
}'
{
"id": "string",
"uri": null,
"kind": "sale",
"name": null,
"project": {
"id": null,
"name": null,
"uri": null,
"accessible": true
},
"signedOn": null,
"completedOn": null,
"completedIsPlanned": true,
"dealDate": "2026-11-03",
"price": {
"value": 0,
"currency": "string",
"scale": "string"
},
"priceCertainty": "confirmed",
"priceApproximate": true,
"priceUnknown": true,
"yield": null,
"yieldCertainty": "confirmed",
"yieldApproximate": true,
"pricePerSqm": null,
"category": null,
"type": null,
"streetAddress": null,
"locationPrecision": "address",
"parties": [
{
"id": "string",
"role": "seller",
"contactId": null,
"companyId": null,
"name": null,
"contactName": null,
"ownFirm": true,
"removed": true,
"fromProject": true
}
],
"property": {
"propertyId": "string",
"ownProperty": true,
"pictureId": null,
"pictureUrl": null,
"isPortfolio": true,
"propertyCount": null,
"name": null,
"locality": null,
"country": null,
"location": {
"latitude": null,
"longitude": null,
"country": null,
"locality": null
},
"factsAsOf": null,
"categories": [
{
"type": "string",
"rentedArea": {
"value": 1,
"unit": "string"
},
"vacantArea": {
"value": 1,
"unit": "string"
}
}
],
"leasableArea": {
"value": 1,
"unit": "string"
},
"parcelArea": {
"value": 1,
"unit": "string"
},
"buildingRights": {
"value": 1,
"unit": "string"
},
"yearBuilt": null,
"rentedPercent": null,
"contractLengthYears": null,
"rentalIncome": {
"value": 0,
"currency": "string",
"scale": "string"
},
"netOperatingIncome": {
"value": 0,
"currency": "string",
"scale": "string"
},
"totalCosts": {
"value": 0,
"currency": "string",
"scale": "string"
}
},
"sources": [
{
"id": "string",
"kind": "article",
"channel": "news",
"activityId": null,
"contactId": null,
"companyId": null,
"name": null,
"url": null,
"title": null,
"publisher": null,
"publishedOn": null,
"comment": null,
"accessible": true,
"archived": true,
"createdUtc": "2026-11-03T08:59:16.759Z",
"createdBy": {
"id": "string",
"name": "string"
}
}
],
"sourceChannels": [
"own_project"
],
"missing": [
"price"
],
"hidden": true,
"hiddenUtc": null,
"voidedUtc": null,
"removalReason": "deleted",
"createdBy": {
"id": "string",
"name": "string"
},
"createdVia": "app",
"createdUtc": "2026-11-03T08:59:16.759Z",
"updatedUtc": "2026-11-03T08:59:16.759Z",
"deletedUtc": null,
"etag": "string"
}