Update fields on an existing record. The request is queued for processing.
POSThttps://secure-api.setshape.com/api/update/lead/info/{crmid}
Replace
{crmid} with your Shape system ID — found on the API Integrations page. Every request also needs your auth header — see Using Shape APIs.Body parameters
Identify the record with lead_id or trkloannnumber — don’t send both. When lead_id is present it controls the lookup. Send {delete} as a value to clear a mapped field.
| Field | Requirement | Description |
|---|---|---|
lead_id |
Recommended | Shape record ID. The legacy alias leadid is also accepted. |
trkloannnumber |
Conditional alternative | Tracking loan number. Lookup support is limited to mortgage industry types 15 and 85. |
| Account field mappings | Optional | Any updatable field; set a value to {delete} to clear it. |
Example request
{
"lead_id": 12345,
"firstname": "Jamie",
"lastname": "Example"
}
{
"lead_id": 12345,
"lastname": "{delete}"
}
Example response
The update is accepted and queued:
{
"message": "Your request has been queued.",
"lead_id": 12345
}