Request parameters

  • tenant - (mandatory) - to which tenant/system to connect, e.g. "zegoal"
  • account_id - (optional) - Account ID that will be updated with new address
  • address
    • address_id - (mandatory) - Unique address id that will be updated
    • country_code - (conditional) - Country Code
    • country - (conditional) - Country
    • postal_code - (conditional) - Postal Code
    • state - (conditional) - State
    • region - (conditional) - Region
    • city - (conditional) - City
    • street - (conditional) - Street
    • house - (conditional) - House
    • email - (conditional) - emaio to be confirmed
    • extra_address_line - (conditional) - extra details, if required
    • address_type - (conditional) - type of address (i.e. main_address)


Example



{
    "tenant": "zegoal",
    "account_id": 3,
    "address":         {
            "street": "Humphrey",
            "state": "Humphrey",
            "region": "Humphrey",
            "postal_code": "Humphrey",
            "house": "Humphrey",
            "extra_address_line": "Humphrey",
            "country_code": "Humphrey",
            "country": "Humphrey",
            "city": "Humphrey",
            "address_type": "Humphrey address",
            "address_id": 47
} 
}
CODE



{
   "processing_result":    {
      "text": "success",
      "status": "ok",
      "code": 0
   },
   "processing_date": "2019-11-14 16:31:44",
   "UpdateAddress":    {
      "response":       {
         "tenant": "zegoal",
         "flow_type": "UpdateAddress",
         "address":          {
            "street": "Humphrey",
            "state": "Humphrey",
            "region": "Humphrey",
            "postal_code": "Humphrey",
            "house": "Humphrey",
            "extra_address_line": "Humphrey",
            "country_code": "Humphrey",
            "country": "Humphrey",
            "city": "Humphrey",
            "address_type": "Humphrey address",
            "address_id": 47
         },
         "account_id": 3,
         "TZ": "Europe/Minsk"
      },
      "request":       {
         "tenant": "zegoal",
         "address":          {
            "street": "Humphrey",
            "state": "Humphrey",
            "region": "Humphrey",
            "postal_code": "Humphrey",
            "house": "Humphrey",
            "extra_address_line": "Humphrey",
            "country_code": "Humphrey",
            "country": "Humphrey",
            "city": "Humphrey",
            "address_type": "Humphrey address",
            "address_id": 47
         },
         "account_id": 3
      }
   }
}
CODE