v1

latestSwagger 2.02026-07-13301635.0 KB
profile

update the user's return address information

post/profile/updateAddress

Request body

uidstring required

authorized UID of the session.

address_idinteger required

the address you are updating

namestring

the name on the address

business_namestring

the optional business name on the address

address1string

the first line of the address

address2string

the second (optional) line of the address

citystring

the city of the address

statestring

the abbreviated state or province of the address

zipstring

the zip or postal code of the address

countrystring

the name of the country of the address

country_idinteger

the id of the country of the address. do not use with "country" parameter

Example request

{
  "uid": "33ce76fede1a31d5ee823179f78d9882",
  "address_id": 42,
  "name": "Joe Smith",
  "business_name": "Handwrytten LLC",
  "address1": "1430 E Indian School Rd",
  "address2": "Suite 100",
  "city": "Phoenix",
  "state": "AZ",
  "country": "United States",
  "country_id": 2
}

Response

successful operation

statusstring

Example response

{
  "status": "ok",
  "response": {
    "id": 978214798,
    "name": "Joe Smith",
    "business_name": "Handwrytten LLC",
    "address1": "1430 E Indian School Rd",
    "address2": "Suite 100",
    "city": "Phoenix",
    "state": "AZ",
    "country": "United States"
  }
}