Create Address Book
HTTP Request
POST https://zylkerfashionstore.zohostore.com/portaluser/address
JSON Parameters
Parameter | Description |
address_details* | JSONObject: Contains json of user address detail that needed to be updated. |
zuid* | string: User ID of the user. |
Request Example
Copiedcurl -i -X POST \
-H "Cookie:_iamadt_client_portalId= *****;_iambdt_client_portalId= *****;" \
-d \
'{"address_details":"{\"address\":\"16 / A, Millers Road, 2nd Floor, krishna nagar\",\"city\":\"Chennai\",\"zip\":\"560052\",\"phone\":\"***",\"state\":\
'https://zylkerfashionstore.zohostore.com/portaluser/address
Success Response
Copied{
"status_code": "0",
"status_message": "success",
"api_kind": "kind#add_new_address",
"payload": {
"contacts_zos_response": {
"address_info": {
"zip": "560052",
"country": "India",
"address": "16 / A, Millers Road, 2nd Floor, krishna nagar",
"address_type": "",
"city": "Chennai",
"address_id": "1787495000000462001",
"country_code": "IN",
"phone": "***",
"attention": "Adithya Gupta",
"street2": "",
"state": "Tamil Nadu",
"state_code": "TN",
"fax": ""
},
"code": 0,
"message": "The address has been created."
}
}
}HTTP Request
POST https://commerce.zoho.com/portaluser/address
Show full
Show less
Failure Response
Copied{
"status_code": "1",
"status_message": "failure",
"api_kind": "kind#add_new_address",
"error": {
"code": 37014,
"message": "Invalid entries"
},
"developer_message": "Invalid entries"
}
Use this API to create an address book for an user account under portal.