List Billing address (02/02)
Fire this api to get logged in user's billing address
GET
https://castleindia.in/emart/public /api/billing-address /api/billing-address
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer { bearer_token without brackets } |
Accept | String | application/json |
{
"billingaddress": [
{
"name": "John Doe",
"email": "johndoe@example.com",
"address": "Sample Billing Address",
"mobile": 7894561230,
"pincode": 311001,
"type": "Office",
"country": {
"id": 101,
"name": "India"
},
"state": {
"id": 33,
"name": "Rajasthan"
},
"city": {
"id": 3327,
"name": "Bhilwara"
}
},
{
"name": "Some Test Address",
"email": "admin@admin.com",
"address": "This is sample address from checkout window",
"mobile": 7894561230,
"pincode": 0,
"type": null,
"country": {
"id": 101,
"name": "India"
},
"state": {
"id": 15,
"name": "Jammu and Kashmir"
},
"city": {
"id": 1292,
"name": "Charari Sharief"
}
},
{
"name": "Some Test Address",
"email": "admin@admin.com",
"address": "This is sample address from checkout window",
"mobile": 7894561230,
"pincode": 0,
"type": null,
"country": {
"id": 101,
"name": "India"
},
"state": {
"id": 15,
"name": "Jammu and Kashmir"
},
"city": {
"id": 1292,
"name": "Charari Sharief"
}
},
{
"name": "Ankit",
"email": "admin@mediacity.co.in",
"address": "Theodore LoweAp #867-859 Sit Rd.",
"mobile": 7894561230,
"pincode": 0,
"type": null,
"country": {
"id": 231,
"name": "United States"
},
"state": {
"id": 3956,
"name": "New York"
},
"city": {
"id": 47854,
"name": "Airmont"
}
},
{
"name": "Some Test Address",
"email": "admin@admin.com",
"address": "This is sample address from checkout window",
"mobile": 7894561230,
"pincode": 0,
"type": null,
"country": {
"id": 101,
"name": "India"
},
"state": {
"id": 15,
"name": "Jammu and Kashmir"
},
"city": {
"id": 1292,
"name": "Charari Sharief"
}
},
{
"name": "Admin",
"email": "admin@mediacity.co.in",
"address": "Sector-15, Wolf Street",
"mobile": 1234567890,
"pincode": 0,
"type": null,
"country": {
"id": 231,
"name": "United States"
},
"state": {
"id": 3931,
"name": "Georgia"
},
"city": {
"id": 43939,
"name": "Brunswick"
}
},
{
"name": "Admin",
"email": "admin@mediacity.co.in",
"address": "Sector-15, Wolf Street",
"mobile": 1234567890,
"pincode": 0,
"type": null,
"country": {
"id": 231,
"name": "United States"
},
"state": {
"id": 3931,
"name": "Georgia"
},
"city": {
"id": 43939,
"name": "Brunswick"
}
},
{
"name": "Admin",
"email": "admin@mediacity.co.in",
"address": "Sector-15, Wolf Street",
"mobile": 1234567890,
"pincode": 0,
"type": null,
"country": {
"id": 231,
"name": "United States"
},
"state": {
"id": 3931,
"name": "Georgia"
},
"city": {
"id": 43939,
"name": "Brunswick"
}
},
{
"name": "Admin",
"email": "admin@mediacity.co.in",
"address": "Sector-15, Wolf Street",
"mobile": 1234567890,
"pincode": 0,
"type": null,
"country": {
"id": 231,
"name": "United States"
},
"state": {
"id": 3931,
"name": "Georgia"
},
"city": {
"id": 43939,
"name": "Brunswick"
}
},
{
"name": "Admin",
"email": "admin@mediacity.co.in",
"address": "NewStreet, Bhilwara",
"mobile": 1234567890,
"pincode": 311001,
"type": null,
"country": {
"id": 101,
"name": "India"
},
"state": {
"id": 33,
"name": "Rajasthan"
},
"city": {
"id": 3327,
"name": "Bhilwara"
}
}
],
"status": "success"
}
{
"message": "Unauthenticated."
}
Last updated