query

address

Get a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details.
Arguments
Required
ID allotted to the selected address. Example: 'addr_001'
buyNow
Boolean
Whether to get a Buy Now cart. Example: false
cartId
String
The unique identifier of the user cart. Example: '5bb521cfdc83215e1889b346'
checkoutMode
String
Option to checkout for self or for others (e.g., 'self', 'other'). Example: 'self'
isDefault
Boolean
Select true to fetch the default address. Example: true
mobileNo
String
Mobile number of the customer. Example: '9876543210'
tags
String
Tag for the address (e.g., work, home, office, shop). Example: 'home'
Response
custom_json
JSON
Custom JSON for address. Example: { instructions: 'Leave at the gate' }
address
String
Address line(s). Example: '221B Baker Street'
address_type
String
Type of address. Example: 'home'
area
String
Area/locality. Example: 'Andheri East'
area_code
String
Area code. Example: '400059'
area_code_slug
String
Area code slug (e.g., pincode in India). Example: 'pincode'
checkout_mode
String
Checkout mode associated with this address (e.g., 'self', 'other'). Example: 'self'
app_id
String
Sales channel id.
city
String
City of the address (e.g., Mumbai). Example: 'Mumbai'
country
String
Country of address (e.g., India). Example: 'India'
country_code
String
Country phone code (e.g., '+91'). Example: '+91'
country_iso_code
String
Country ISO code (e.g., IN). Example: 'IN'
country_phone_code
String
Country phone code (e.g., '+91'). Example: '+91'
created_by_user_id
String
User ID that created the address. Example: 'usr_123'
email
String
Email address. Example: 'john.doe@example.com'
geo_location
GeoLocation
Geolocation coordinates. Example: { latitude: 19.076, longitude: 72.8777 }
google_map_point
JSON
Google Maps geometry point. Example: { type: 'Point', coordinates: [72.8777, 19.076] }
Address identifier. Example: 'addr_001'
is_active
Boolean
Whether the address is active. Example: true
is_default_address
Boolean
Whether this is the default address. Example: false
landmark
String
Landmark. Example: 'Near City Mall'
meta
JSON
Additional metadata. Example: { floor: '2nd' }
name
String
Full name. Example: 'John Doe'
phone
String
Phone number. Example: '9876543210'
state
String
State. Example: 'Maharashtra'
Tags to identify the address. Example: ['home', 'default']
uid
Int
Numeric UID associated with the address. Example: 101
user_id
String
User ID the address belongs to. Example: 'usr_123'
sector
String
Sector/Block. Example: 'Sector 21'
state_code
String
State code. Example: 'MH'
is_anonymous
Boolean
Whether address belongs to an anonymous user. Example: false
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...