Units
Create Unit
Units
Create Unit
Create a new unit
POST
/
units
curl --request POST \
--url https://app.planpoint.io/api/units \
--header 'Authorization: <api-key>'
{
"_id": "<string>",
"floor": "<string>",
"name": "<string>",
"bedrooms": "<string>",
"squareFeet": 123,
"isFeatured": false,
"price": 123,
"unitPriceTBD": false,
"type": "<string>",
"specificType": "<string>",
"availability": "<string>",
"path": "<string>",
"lotPath": "<string>",
"unitImageUrl": "<string>",
"onHoldExpiresAt": "2023-11-07T05:31:56Z",
"layoutUrl": "<string>",
"layoutGallery": [
"<string>"
],
"downloadableAsset": "<string>",
"brochurePDF": "<string>",
"additionalInfo": [
{
"label": "<string>",
"value": "<string>"
}
],
"embedCode": "<string>",
"customButtonUrl": "",
"payableAmount": 123,
"customButtonSnippet": "",
"images": [
"<string>"
],
"clonedImages": [
"<string>"
],
"customFinishes": {
"type": {
"name": "<string>",
"options": {
"kitchen": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
},
"bathroom": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
},
"general": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
}
}
},
"default": {}
},
"finishes": [
"<string>"
],
"clonedFinishes": [
"<string>"
],
"parking": 123,
"bathrooms": 123,
"orientation": "<string>",
"inclusions": "<string>",
"deliveryDate": "<string>",
"description": "<string>",
"unitmodels": [
"<string>"
],
"lon": -93.75940812944683,
"lat": 43.75940812944682,
"perimeter": "<string>",
"svgLotId": "<string>"
}
Authorizations
Query Parameters
Name of the unit
Position or order of the unit
Id of the unit's project
Response
200
application/json
Successful operation
The response is of type object
.
curl --request POST \
--url https://app.planpoint.io/api/units \
--header 'Authorization: <api-key>'
{
"_id": "<string>",
"floor": "<string>",
"name": "<string>",
"bedrooms": "<string>",
"squareFeet": 123,
"isFeatured": false,
"price": 123,
"unitPriceTBD": false,
"type": "<string>",
"specificType": "<string>",
"availability": "<string>",
"path": "<string>",
"lotPath": "<string>",
"unitImageUrl": "<string>",
"onHoldExpiresAt": "2023-11-07T05:31:56Z",
"layoutUrl": "<string>",
"layoutGallery": [
"<string>"
],
"downloadableAsset": "<string>",
"brochurePDF": "<string>",
"additionalInfo": [
{
"label": "<string>",
"value": "<string>"
}
],
"embedCode": "<string>",
"customButtonUrl": "",
"payableAmount": 123,
"customButtonSnippet": "",
"images": [
"<string>"
],
"clonedImages": [
"<string>"
],
"customFinishes": {
"type": {
"name": "<string>",
"options": {
"kitchen": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
},
"bathroom": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
},
"general": {
"tabs": [
{
"label": "<string>",
"cover": "<string>",
"thumbnail": "<string>"
}
]
}
}
},
"default": {}
},
"finishes": [
"<string>"
],
"clonedFinishes": [
"<string>"
],
"parking": 123,
"bathrooms": 123,
"orientation": "<string>",
"inclusions": "<string>",
"deliveryDate": "<string>",
"description": "<string>",
"unitmodels": [
"<string>"
],
"lon": -93.75940812944683,
"lat": 43.75940812944682,
"perimeter": "<string>",
"svgLotId": "<string>"
}