Logo
Bellhop API Documentation

Update a lead

PATCH {{HOST}}/api/partner-api/v0/sales/leads/{{external_id}}

Updates the supplied fields for a lead.

Available Fields

  • close_date
  • description

Required Scopes

  • sales:leads:update

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "first_name": "Barnabus", "last_name": "Bellhop", "description": "", "external_id": "caf7b1c1-821e-4b5f-9247-3d986635731b", "email": "Barnabus.Bellhop@bellhop.com", "phone": "000-000-0000", "origin_street": "", "origin_city": "", "origin_postal_code": "00000", "origin_state": "", "destination_street": "", "destination_city": "", "destination_postal_code": "00000", "destination_state": "", "lead_type": "Outbound", "lead_record_type": "0124p000000V5K2AAK", "load_date": "2020-11-18", "close_date": "2020-12-25" }



Curl
curl -X PATCH 'HOST/api/partner-api/v0/sales/leads/' -d '{"close_date":"2020-12-25"}'

ENDPOINTS