Update Lead

PUT /order/client/tieup/update-lead-order

curl --location '{{url}}/order/client/tieup/update-lead-order' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}' \
--data '{
    "clientId": {{client_id}},
    "leadId": 123,
    "alternateMobileNo": "1234567890", 
    "districtId": 3,
    "serviceId": 0,
    "pickUpLocation": [0.0, 1.1],
    "dropLocation": [0.0, 1.1],
    "isTowing": false,
    "vehicleId": 99,
    "vehicleType": "CAR",
    "description": "Lorem Epsum",
    "productName": "DashCam 00D3",
}'

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

key-id

{{client_secret_code}}

Body

Name
Type
Description

clientId

string

Unique client ID

leadId

number

Unique lead ID

alternateMobileNo

string

10 digit valid optional mobile number of the customer

districtId

number

serviceId

number

Static Service ID shared

pickUpLocation

Array

Coordinate of the Order Location

dropLocation

Array

Coordinate of the Drop Location

isTowing

booean

If the lead is for Towing task

vehicleType

string

Type of the Vehicle

description

string

Vehicle Brand

productName

string

Name of the Product

clientRefId

string

Response


Last updated