| Parameter | Type | Description |
|---|
| api_key | string | Your API-key |
| address | string | Customer's address |
| email | string | Email id of customer (optional) |
| house_no | string | Customer's House number (optional) |
| landmark | string | Landmark (optional) |
| latitude | number | Latitude |
| longitude | number | longitude |
| loc_type | number | Location Type ,(valid (0,1,2)) |
| name | string | Customer's name |
| phone_no | string | Phone number (optional) |
| postal_code | string | Postal code(optional) |
| customer_id | number | Costomer's id |
Request
Body Params application/json
{ "api_key" : {{apikey}},
"address" : "Panchkula, India",
"email" : "abc@gmail.com",
"house_no" : "H.No.2001",
"landmark" : " ",
"latitude" : 30.7333148,
"longitude" : 76.7794179,
"loc_type" : 1,
"name" : "Name1",
"phone_no" : "9090909090",
"postal_code": "123401",
"customer_id": 234
}
Request Code Samples
curl --location --request POST 'https://api.yelo.red/open/admin/customer/address/add' \
--header 'Content-Type: application/json' \
--data-raw '{ "api_key" : {{apikey}},
"address" : "Panchkula, India",
"email" : "abc@gmail.com",
"house_no" : "H.No.2001",
"landmark" : " ",
"latitude" : 30.7333148,
"longitude" : 76.7794179,
"loc_type" : 1,
"name" : "Name1",
"phone_no" : "9090909090",
"postal_code": "123401",
"customer_id": 234
}'
Responses
application/json Modified at 2024-04-17 07:11:33