Create Lead
POST /order/client/tieup/create-lead-order
curl --location '{{url}}/order/client/tieup/create-lead-order' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}' \
--data '{
"clientId": "{{client_id}}",
"mobileNo": "1234567890",
"alternateMobileNo": "1238798890",
"clientRefId": "xxxxxx",
"status": "Specific Status",
"serviceId": 0,
"pickUpLocation": [0.0, 1.1],
"dropLocation": [0.0, 1.1],
"address": "HSR Layout, Bangalore",
"isTowing": false,
"vehicleType": "BIKE",
"vehicleMake": "Yamaha",
"vehicleModel": "FZ v3",
"customerName": "Dinkar Sharma",
"pinCode": "111000",
"productName": "xxxxxx",
"issue": "xxxxxx",
"isCredit": true,
"collectAmount": 0
}'Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
key-id
{{client_secret_code}}
Body
Name
Type
Description
clientId
string
Unique client ID
mobileNo
string
10 digit valid mobile number of the customer
alternateMobileNo
string
10 digit valid mobile number of the customer
status
string
Status
serviceId
number
Statis 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
vehicleMake
string
Vehicle Brand
vehicleModel
string
Model of the Vehicle
customerName
string
pinCode
string
productName
string
issue
string
isCredit
boolean
collectAmount
number
Response
Last updated