Override Lead

The override, and the moment the guardrail becomes visible.

A new class does not simply overwrite a label: the server re-resolves against what is actually free, using the lead's own coordinates and radius — never anything from this body, which must not be able to move the point on the map. The original reading survives untouched.

Since M4B the correction, the note and the centre are this operator's row of the request, not the request: another centre that received the same request reads its own. The status is no longer set here: it follows from what the centre does (respond, decline, won), and a body that asks for a different one answers 409.

patch/api/v1/seller/leads/{lead_id}

Request

  • Base URL: https://trovastorage.it (the document declares no server; this is the origin it was published from)
  • URL: https://trovastorage.it/api/v1/seller/leads/{lead_id}
  • Auth: one of:
    • API key in header X-Access-Token
    • HTTP bearer

Path parameters

lead_idstring uuid required

Request body

size_class_m2integer nullable
statusstring nullable
internal_notestring nullable
site_idstring uuid nullable

Response

Successful Response

idstring uuid required
created_atstring date-time required
statusstring required
site_idstring uuid nullable required
site_namestring nullable required
size_class_m2integer required
interpreted_size_class_m2integer required
overriddenboolean required
free_countinteger required
zero_resultsboolean required
contact_namestring nullable required
appointment_starts_atstring date-time nullable required
appointment_meeting_typestring nullable
appointment_statestring nullable
intentstring nullable
contact_preferencestring nullable
distribution_statestring
entered_by_adminboolean
size_knownboolean
recipient_idstring uuid nullable
statestring
unreadboolean
unread_messagesinteger
others_countinteger
directboolean
areastring nullable
offeredboolean
closed_reasonstring nullable
originstring
origin_detailstring nullable
moved_inboolean nullable
contact_releasedboolean
original_textstring required
interpretationobject required
resolved_atstring date-time required
radius_kmnumber required
featuresstring[] required
contact_emailstring nullable required
contact_phonestring nullable required
internal_notestring nullable required
transcriptobject[] required
size_class_optionsinteger[] required
other_operators_centresinteger
cancel_reasonstring nullable
can_respondboolean
can_declineboolean
can_messageboolean
can_mark_wonboolean
can_confirm_move_inboolean
thread_closedboolean
decline_reasonstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.