Sales Opportunities

Update contract sales opportunity status

Partially updates a CONTRACT sales opportunity. Currently only the status field is supported. Returns the updated opportunity. Returns 404 if the opportunity does not exist or is not a CONTRACT product.

patch/sales-opportunities/contract/{id}

Request

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

Path parameters

idstring required

Sales opportunity ID

Request body

status'STARTED' | 'POTENTIAL' | 'FORMALIZED' | 'CONVERTED' | 'REJECTED' required

Response

Updated 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.