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

  • Deal id

Headers

  • The deal's etag; the change is refused when the deal has changed since

Body·

required

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).

  • Whether the completion date is only planned

  • Completion date (omit to keep, null to clear)

  • Whether the deal is a portfolio

  • address, or area to show only the deal's area

    values
    addressarea
  • The deal's name (omit to keep, null to clear)

  • The price with currency and optional scale (omit to keep, null to clear)

    Properties: 3
  • Whether the price is approximate

  • confirmed, reported or estimated (omit to keep, null to clear)

    values
    confirmedreportedestimated
  • Whether the price is known to be unknown

  • Number of properties in a portfolio (omit to keep, null to clear)

  • Signing date (omit to keep, null to clear)

  • 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
Request Example for patch/api/v1/comps/{id}
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"
}