input_object

Address2Input

Address details including pincode, phone, id, country code, geolocation, country, state, city, landmark, email, etc.
Fields
_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'
city
String
City of the address (e.g., Mumbai). Example: 'Mumbai'
country
String
Country of the 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 this address. Example: 'usr_123'
email
String
Email address. Example: 'john.doe@example.com'
geo_location
GeoLocationInput
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'
sector
String
Sector/Block. Example: 'Sector 21'
pincode
String
Postal code or PIN code of the address area.
state
String
State. Example: 'Maharashtra'
state_code
String
State code. Example: 'MH'
Tags to identify the address. Example: ['home', 'default']
user_id
String
User ID the address belongs to. Example: 'usr_123'