- Acl
- Custom PG
- CSV Import
- Menu
- Notification
- Tax
- Themes
- Customer
- Wallet
- Loyality Points
- City
- Promo
- Order
- Search
- Marketplace
- Task
- Merchant
- Catalogue
- Business Categories
- Send SMS
- Admin
- Billing
- Project
- Discount
- Store Reviews
- checkout template
- Payment
Add Address
POST
/open/admin/customer/address/add
Parameter | Type | Description |
---|---|---|
api_key | string | Your API-key |
address | string | Customer's address |
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
object {0}
Example
{ "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 samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-17 07:11:33