xxxxxxxxxx
{
"status": "SUCCESS",
"messages": [],
"payload": [
{
"_type": "AddressIntlV2",
"fullAddress": "G 20 Bond St, Sydney NSW 2000",
"attributes": {
"Type": "Floor",
"subdwellings": "4 Addresses"
},
"id": "AU|AUPAF|G3860"
},
{
"_type": "AddressIntlV2",
"fullAddress": "20 Bond St, Maroubra NSW 2035",
"attributes": {
"Type": "Address"
},
"id": "AU|AUPAF|48318069"
},
{
"_type": "AddressIntlV2",
"fullAddress": "20 Bond St, Mosman NSW 2088",
"attributes": {
"Type": "Address"
},
"id": "AU|AUPAF|79044392"
}
]
}
xxxxxxxxxx
$.ajax({
type: 'get',
url: '/users/ajax/order',
data: {
// data
},
dataType: 'json',
success: function(response) {
if (response.status == 'true') {
window.location.href = "/users/home";
}
}
})