Sales Opportunities

Delete a sales opportunity

Hard-deletes a sales opportunity. Currently only CONTRACT opportunities are supported; other products return 404. Related notes are removed by cascade. Emits a Pub/Sub DELETE event (tenant webhooks are not notified for DELETE).

delete/sales-opportunities/{id}

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Path parameters

idstring required

Sales opportunity ID

Response

Deleted contract sales opportunity

idstring required
product'CONTRACT' required
status'STARTED' | 'POTENTIAL' | 'FORMALIZED' | 'CONVERTED' | 'REJECTED' required
userIdstring
holderstring
nifstring
emailstring
phoneNumberstring
houseIdstring
addressstring
tariffIdstring
createdAtstring date-time required
updatedAtstring date-time required
referralCodestring
invoiceIdstring
invoiceAnalysisIdstring
contractedPowernumber[]
contactEmailstring
contactNamestring
contactSurnamestring
contactPhonestring
contactNifstring
cupsstring
addressBlockNumberstring
addressFloorstring
addressStaircasestring
addressDoorstring
addressPostalCodestring
addressAdditionalInfostring
bankAccountHolderstring
ibanstring
submittedboolean

Changes

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