Change a live deal
curl --request PATCH \
--url https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"asking_price": 4503599627370496,
"min_emd": 4503599627370495,
"arv_estimate": 4503599627370495,
"description": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"occupancy": "<string>",
"entry_fee": 4503599627370495,
"interest_rate": 50,
"monthly_payment": 4503599627370495,
"beds": 50,
"baths": 50,
"sq_footage": 4503599627370495,
"year_built": 1900,
"walkthrough_urls": [
"<string>"
],
"purchase_price": 4503599627370496,
"repair_estimate_min": 4503599627370495,
"repair_estimate_max": 4503599627370495
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
asking_price: 4503599627370496,
min_emd: 4503599627370495,
arv_estimate: 4503599627370495,
description: '<string>',
expires_at: '2023-11-07T05:31:56Z',
occupancy: '<string>',
entry_fee: 4503599627370495,
interest_rate: 50,
monthly_payment: 4503599627370495,
beds: 50,
baths: 50,
sq_footage: 4503599627370495,
year_built: 1900,
walkthrough_urls: ['<string>'],
purchase_price: 4503599627370496,
repair_estimate_min: 4503599627370495,
repair_estimate_max: 4503599627370495
})
};
fetch('https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id}"
payload = {
"asking_price": 4503599627370496,
"min_emd": 4503599627370495,
"arv_estimate": 4503599627370495,
"description": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"occupancy": "<string>",
"entry_fee": 4503599627370495,
"interest_rate": 50,
"monthly_payment": 4503599627370495,
"beds": 50,
"baths": 50,
"sq_footage": 4503599627370495,
"year_built": 1900,
"walkthrough_urls": ["<string>"],
"purchase_price": 4503599627370496,
"repair_estimate_min": 4503599627370495,
"repair_estimate_max": 4503599627370495
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "available",
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"county": "<string>",
"latitude": 123,
"longitude": 123
},
"property_type": "<string>",
"asking_price": 0,
"arv_estimate": 0,
"min_emd": 0,
"condition": "FULL_GUT",
"description": "<string>",
"purchase_price": 0,
"repair_estimate_min": 0,
"repair_estimate_max": 0,
"entry_fee": 0,
"interest_rate": 123,
"monthly_payment": 0,
"occupancy": "<string>",
"beds": 123,
"baths": 123,
"sq_footage": 123,
"year_built": 123,
"disposition_manager_id": "<string>",
"verification": {
"status": "<string>"
},
"media": [
{
"id": "<string>",
"kind": "image",
"url": "<string>",
"filename": "<string>",
"size_bytes": 0,
"content_type": "<string>",
"order": 0,
"is_default": true
}
],
"published_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "<string>",
"api_version": "<string>"
}
}{
"type": "https://developers.investorlift.com/marketplace/errors#invalid_body",
"title": "Body unusable",
"status": 400,
"code": "invalid_body",
"detail": "<string>",
"recovery": "Send a JSON body with the content type application/json.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#unauthorized",
"title": "Not authenticated",
"status": 401,
"code": "unauthorized",
"detail": "<string>",
"recovery": "Send a current access token for this API, and start a new authorization when the token is expired.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#designation_required",
"title": "Designation missing",
"status": 403,
"code": "designation_required",
"detail": "<string>",
"recovery": "Finish the onboarding of the side you call, then repeat the call.",
"request_id": "<string>",
"designation": "seller"
}{
"type": "https://developers.investorlift.com/marketplace/errors#not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "<string>",
"recovery": "Check the id, and check that the account you call with owns the resource.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "<string>",
"recovery": "Use one of the methods the documentation lists for this path.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#deal_closed",
"title": "Deal closed",
"status": 409,
"code": "deal_closed",
"detail": "<string>",
"recovery": "Read the deal to see the current status, and act on an open deal instead.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#validation_failed",
"title": "Body failed validation",
"status": 422,
"code": "validation_failed",
"detail": "<string>",
"recovery": "Correct each field the detail names, then repeat the call.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#origin_error",
"title": "Service unavailable",
"status": 503,
"code": "origin_error",
"detail": "<string>",
"recovery": "Repeat the call in a minute, and tell Investorlift support when the answer stays the same.",
"request_id": "<string>"
}sell
Change a live deal
Changes the fields of one live deal. A sold deal takes no change. The description passes the contact scrubber, as the app does. A change fires deal.updated with the names of the fields that changed.
PATCH
/
sell
/
deals
/
{deal_id}
Change a live deal
curl --request PATCH \
--url https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"asking_price": 4503599627370496,
"min_emd": 4503599627370495,
"arv_estimate": 4503599627370495,
"description": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"occupancy": "<string>",
"entry_fee": 4503599627370495,
"interest_rate": 50,
"monthly_payment": 4503599627370495,
"beds": 50,
"baths": 50,
"sq_footage": 4503599627370495,
"year_built": 1900,
"walkthrough_urls": [
"<string>"
],
"purchase_price": 4503599627370496,
"repair_estimate_min": 4503599627370495,
"repair_estimate_max": 4503599627370495
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
asking_price: 4503599627370496,
min_emd: 4503599627370495,
arv_estimate: 4503599627370495,
description: '<string>',
expires_at: '2023-11-07T05:31:56Z',
occupancy: '<string>',
entry_fee: 4503599627370495,
interest_rate: 50,
monthly_payment: 4503599627370495,
beds: 50,
baths: 50,
sq_footage: 4503599627370495,
year_built: 1900,
walkthrough_urls: ['<string>'],
purchase_price: 4503599627370496,
repair_estimate_min: 4503599627370495,
repair_estimate_max: 4503599627370495
})
};
fetch('https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.investorlift.com/marketplace/v1/sell/deals/{deal_id}"
payload = {
"asking_price": 4503599627370496,
"min_emd": 4503599627370495,
"arv_estimate": 4503599627370495,
"description": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"occupancy": "<string>",
"entry_fee": 4503599627370495,
"interest_rate": 50,
"monthly_payment": 4503599627370495,
"beds": 50,
"baths": 50,
"sq_footage": 4503599627370495,
"year_built": 1900,
"walkthrough_urls": ["<string>"],
"purchase_price": 4503599627370496,
"repair_estimate_min": 4503599627370495,
"repair_estimate_max": 4503599627370495
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "available",
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"county": "<string>",
"latitude": 123,
"longitude": 123
},
"property_type": "<string>",
"asking_price": 0,
"arv_estimate": 0,
"min_emd": 0,
"condition": "FULL_GUT",
"description": "<string>",
"purchase_price": 0,
"repair_estimate_min": 0,
"repair_estimate_max": 0,
"entry_fee": 0,
"interest_rate": 123,
"monthly_payment": 0,
"occupancy": "<string>",
"beds": 123,
"baths": 123,
"sq_footage": 123,
"year_built": 123,
"disposition_manager_id": "<string>",
"verification": {
"status": "<string>"
},
"media": [
{
"id": "<string>",
"kind": "image",
"url": "<string>",
"filename": "<string>",
"size_bytes": 0,
"content_type": "<string>",
"order": 0,
"is_default": true
}
],
"published_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "<string>",
"api_version": "<string>"
}
}{
"type": "https://developers.investorlift.com/marketplace/errors#invalid_body",
"title": "Body unusable",
"status": 400,
"code": "invalid_body",
"detail": "<string>",
"recovery": "Send a JSON body with the content type application/json.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#unauthorized",
"title": "Not authenticated",
"status": 401,
"code": "unauthorized",
"detail": "<string>",
"recovery": "Send a current access token for this API, and start a new authorization when the token is expired.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#designation_required",
"title": "Designation missing",
"status": 403,
"code": "designation_required",
"detail": "<string>",
"recovery": "Finish the onboarding of the side you call, then repeat the call.",
"request_id": "<string>",
"designation": "seller"
}{
"type": "https://developers.investorlift.com/marketplace/errors#not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "<string>",
"recovery": "Check the id, and check that the account you call with owns the resource.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "<string>",
"recovery": "Use one of the methods the documentation lists for this path.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#deal_closed",
"title": "Deal closed",
"status": 409,
"code": "deal_closed",
"detail": "<string>",
"recovery": "Read the deal to see the current status, and act on an open deal instead.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#validation_failed",
"title": "Body failed validation",
"status": 422,
"code": "validation_failed",
"detail": "<string>",
"recovery": "Correct each field the detail names, then repeat the call.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#origin_error",
"title": "Service unavailable",
"status": 503,
"code": "origin_error",
"detail": "<string>",
"recovery": "Repeat the call in a minute, and tell Investorlift support when the answer stays the same.",
"request_id": "<string>"
}Authorizations
Authorization code with PKCE. The person grants the scopes on the Investorlift consent page and accepts the Marketplace API Terms there.
Path Parameters
The public id in the path, for example deal_id as mdl_a1b2c3d4e5f6.
Body
application/json
Required range:
1 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Available options:
FULL_GUT, LIGHT_REHAB, MAJOR_REHAB, TEAR_DOWN, TURN_KEY Required string length:
8 - 300000Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Maximum string length:
100Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 100Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 100Required range:
0 <= x <= 100Required range:
0 <= x <= 9007199254740991Required range:
1600 <= x <= 2200Available options:
attached_garage, detached_garage, carport, driveway, street Maximum array length:
10Private.
Required range:
1 <= x <= 9007199254740991Private.
Required range:
0 <= x <= 9007199254740991Private.
Required range:
0 <= x <= 9007199254740991Was this page helpful?