v1

latestSwagger 2.02026-07-13301635.0 KB
address

updates an existing new recipient address

post/profile/updateRecipient

Request body

uidstring

authorized UID of the session.

idinteger

the id of the address to update

namestring

the updated name on the address

business_namestring

the updated optional business name on the address

address1string

the updated first line of the address

address2string

the updated second (optional) line of the address

citystring

the updated city of the address

statestring

the updated abbreviated state or province of the address

zipstring

the updated zip or postal code of the address

countrystring

the updated name of the country of the address, or use country_id

country_idinteger

the country id of the address

Example request

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

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"
  }
}