AI Pricer
Update Appraisal History Margin
Persist an adjusted dealer margin onto an existing appraisal row.
Body: { margin_percent: number, min_margin_euros: number }. The seller payout and commission are recomputed server-side from the stored market_value_likely, so the saved figures always match the "Ajustar Margem" panel. Tenant-scoped.
patch/api/ai-pricing/history/{appraisal_id}/margin
Path parameters
appraisal_idinteger required
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
{"stackTrail":"paths:/api/ai-pricing/history/{appraisal_id}/margin:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.