Lead Transaction
Update Transaction
Partially updates an existing transaction. Only supplied fields are applied; omitted fields remain unchanged. transactionStatus is writable: supply the stage's display name exactly as it appears in the team's transaction pipeline for the given transactionType (case-insensitive, e.g. "Under Contract"). A status name that matches no stage in that pipeline is rejected (200125); omit the field to keep the current status.
put/v1.0/leads/{leadId}/transaction/{transactionId}
Request
- Base URLhttps://api.lofty.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
leadIdinteger required
Lead ID. Must be manageable by the caller.
transactionIdinteger required
Transaction ID. Must exist and be bound to leadId.
Headers
Authorizationstring required
Bearer [access_token]
Content-Typestring required
application/json
Request body
Example request
{
"created": 1518078026000,
"updated": 1518078026000,
"transactionId": 10001,
"transactionName": "123 Main St",
"leadName": "Bob",
"assignedAgent": 100001,
"transactionType": "Purchase",
"homePrice": 1000000,
"transactionStatus": "Pre-contract",
"expectedCloseDate": 1508580010000,
"closeDate": 1508580010000,
"commissionRate": 3,
"gci": 5000,
"teamRevenue": 1000,
"agentRevenue": 4000,
"appointmentDate": 1508580010000,
"agreementSignedDate": 1508580010000,
"offerDate": 1508580010000,
"contractDate": 1508580010000,
"appraisalDate": 1508580010000,
"homeInspectionDate": 1508580010000,
"escrowDate": 1508580010000,
"expiration": 1508580010000
}Response
Transaction updated. The response is the merged transaction.
Example response
{
"created": 1518078026000,
"updated": 1518078026000,
"transactionId": 10001,
"transactionName": "123 Main St",
"leadName": "Bob",
"assignedAgent": 100001,
"transactionType": "Purchase",
"homePrice": 1000000,
"transactionStatus": "Pre-contract",
"expectedCloseDate": 1508580010000,
"closeDate": 1508580010000,
"commissionRate": 3,
"gci": 5000,
"teamRevenue": 1000,
"agentRevenue": 4000,
"appointmentDate": 1508580010000,
"agreementSignedDate": 1508580010000,
"offerDate": 1508580010000,
"contractDate": 1508580010000,
"appraisalDate": 1508580010000,
"homeInspectionDate": 1508580010000,
"escrowDate": 1508580010000,
"expiration": 1508580010000
}Changes
No recorded changes to this operation across all 1 revision of this API.