Update Address
Request Parameters:
Customer can update the address.
URL: ../Api/Client/UpdateAddress
Header:
Content-Type:application/json
Case-1. Exception Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"B0B93485-CBB2-40DC-AB06-7D98583AA404",
"AddressId":"1",
"FirstName": "Mary",
"LastName": "Donna",
"Email":"Mary@mail.com",
"Company": "Walmart",
"CountryId": "1",
"StateProvinceId": "40",
"City": "Maxico",
"Address1": "Jet Roads",
"Address2": "Besided Sam club",
"ZipPostalCode":"1005",
"PhoneNumber":"9856230147",
"FaxNumber":"12345",
"LanguageId":"1"
}
Response :
{
"Status": 0,
"Message": "Address not found",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"B0B93485-CBB2-40DC-AB06-7D98583AA404",
"AddressId":"2",
"FirstName": "Mary",
"LastName": "Donna",
"Email":"Mary@mail.com",
"Company": "Walmart",
"CountryId": "1",
"StateProvinceId": "40",
"City": "Maxico",
"Address1": "Jet Roads",
"Address2": "Besided Sam club",
"ZipPostalCode":"1005",
"PhoneNumber":"9856230147",
"FaxNumber":"12345",
"LanguageId":"1"
}
Response :
{
"Status": 1,
"Message": "Address updated successfully",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}