v1

latestOpenAPI 3.1.02026-07-135055368.9 KB
Prospects

Update a Specific Prospect by ID

Update a Specific Prospect by ID

put/v1/prospects/{prospect_id}

Path parameters

prospect_idstring required

ID of the prospect

ID of the prospect

Request body

namestring nullable

Name of the prospect

emailstring email nullable

Email of the prospect

phoneNumberstring nullable

Phone number of the prospect

status'NEW' | 'GENERAL_ENQUIRY' | 'SCHEDULED_CALLBACK_WITH_BOT' | 'SCHEDULED_APPOINTMENT_WITH_PERSON' | 'SCHEDULED_APPOINTMENT_FOR_SERVICE' | 'NOT_INTERESTED' | 'PRODUCT_ORDER_PLACED' | 'SERVICE_ORDER_PLACED' required
prospectPropsobject nullable

Props for the prospect

Example request

{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "phoneNumber": "1234567890",
  "externalReference": [
    {
      "providerName": "Google Analytics",
      "id": "GA-123456"
    }
  ]
}

Response

Prospect updated successfully

idstring required
orgIdstring
namestring nullable
emailstring nullable
phoneNumberstring nullable
statusstring required
prospectPropsobject nullable required
createdBystring
createdAtstring date-time
updatedBystring
updatedAtstring date-time

Example response

{
  "externalReference": [
    {
      "providerName": "Google Analytics",
      "id": "GA-123456"
    }
  ]
}