/api/address/update/

%/{site.ampn./api/address/update/}

Create

Generate HeaderTest AJAX
POST /api/address/update/?
j=
{
"streetName":
{
"in_attr":
{
},
"label":
{
}
},
"unitName":"",
"cityName":
{
"in_attr":
{
},
"label":
{
}
},
"stateName":
{
"in_attr":
{
},
"label":
{
}
},
"countryName":
{
"in_attr":
{
},
"label":
{
}
},
"zip":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns: update_id on success, -1 on failure.

Read

Generate HeaderTest AJAX
GET /api/address/update/?
i=
[
,
]
j=
{
"streetName":
{
"in_attr":
{
},
"label":
{
}
},
"unitName":"",
"cityName":
{
"in_attr":
{
},
"label":
{
}
},
"stateName":
{
"in_attr":
{
},
"label":
{
}
},
"countryName":
{
"in_attr":
{
},
"label":
{
}
},
"zip":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns:

Update

Generate HeaderTest AJAX
POST /api/address/update/?
i=
[
,
]
j=
{
"streetName":
{
"in_attr":
{
},
"label":
{
}
},
"unitName":"",
"cityName":
{
"in_attr":
{
},
"label":
{
}
},
"stateName":
{
"in_attr":
{
},
"label":
{
}
},
"countryName":
{
"in_attr":
{
},
"label":
{
}
},
"zip":
{
"in_attr":
{
},
"label":
{
}
}
}
Returns: 0 on success, -1 on failure.

Delete

Generate HeaderTest AJAX
POST /api/address/update/?
i=
[
,
]
Returns: 0 on success, -1 on failure.