1. Home
  2. Docs
  3. New Development updates API
  4. Update by unit name

Update by unit name

Update a development unit by a unit name and development project id.

ATHORIZATIONS: This API use OAuth2 with the client credentials flow

  • Flow type: clientCredentials
  • Token URL: https://api.propq.com/oauth/token

END POINT: https://api.propq.com/v1/developments/{path_parameters}/units/update-by-name

METHOD: POST

PATH PARAMETERS:

namerequiredtypeValue
development_idrequiredstringThe ID of the development project

REQUEST BODY SCHEMA:

namerequiredtypeValue
UntNamerequiredstringThe name of the unit to be updated
UntStatusrequirednumberEnum: {"1":"AVAILABLE"} {"2":"HOLD"} {"4":"SOLD"} {"8":"RESERVED"}
The new status of the unit
UntPricerequirednumberThe new price of the unit
UntDirectionsrequiredArray of arraysThe new direction list of the unit

Example:

{
    "UntName": "Test",
    "UntStatus": 1,
    "UntPrice": 123456,
    "UntDirections": 
    [
        "N",
        "S"
    ]
}
Was this article helpful to you? Yes No

How can we help?