---
updatedAt: 2025-12-25T23:22:01.000Z
agentTools:
  projectIndex: https://integrate.route4me.com/llms.txt
---

# Update Addresses (Async)

Asynchronous updating multiple Address Book Contacts by sending a body payload with the array of the corresponding Address IDs and Address parameters.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "5.0-oas3",
    "title": "Route4Me Address Book API",
    "description": "Package for the Address Book API",
    "contact": {
      "name": "Route4Me",
      "url": "docs.route4me.com",
      "email": "support@route4me.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "servers": [
    {
      "description": "Prod",
      "url": "https://wh.route4me.com/modules/api/v5.0/address-book"
    }
  ],
  "tags": [
    {
      "name": "Addresses",
      "description": "Actions with the addresses"
    }
  ],
  "security": [
    {
      "APIKeyQueryParam": []
    },
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/addresses/batch-update-async": {
      "put": {
        "operationId": "updateAddressesByIdsAsync",
        "tags": [
          "Addresses"
        ],
        "summary": "Update multiple Addresses by their IDs asynchronously.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CombinedRequest"
                  },
                  {
                    "$ref": "#/components/schemas/AddressBatchUpdate"
                  }
                ]
              }
            }
          }
        },
        "description": "Asynchronous updating multiple Address Book Contacts by sending a body payload with the array of the corresponding Address IDs and Address parameters.",
        "responses": {
          "202": {
            "description": "Job was queued.",
            "headers": {
              "location": {
                "schema": {
                  "type": "string",
                  "description": "Path to the status checker."
                }
              },
              "x-job-id": {
                "schema": {
                  "type": "string",
                  "description": "A job ID of the queued async update request."
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "403": {
            "description": "The user has read-only access.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error403"
                }
              }
            }
          },
          "406": {
            "description": "Validation Exception.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error406"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "APIKeyQueryParam": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      },
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "AddressBatchUpdate": {
        "type": "object",
        "properties": {
          "address_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "example": [
              87640564,
              87640565
            ]
          },
          "address_1": {
            "type": "string",
            "example": "999 Aurelio Summit, Jamirtown, CO 52979-8465"
          },
          "address_2": {
            "type": "string"
          },
          "member_id": {
            "type": "integer",
            "example": 1
          },
          "address_alias": {
            "type": "string",
            "example": "Jenkins Ways"
          },
          "address_city": {
            "type": "string"
          },
          "address_state_id": {
            "type": "string"
          },
          "address_zip": {
            "type": "string"
          },
          "address_country_id": {
            "type": "string"
          },
          "cached_lat": {
            "type": "number",
            "example": -79.102999
          },
          "cached_lng": {
            "type": "number",
            "example": -162.156663
          },
          "curbside_lat": {
            "type": "number",
            "example": -79.102999
          },
          "curbside_lng": {
            "type": "number",
            "example": -162.156663
          },
          "city_id": {
            "type": "integer",
            "example": 1
          },
          "is_deleted": {
            "type": "boolean",
            "example": false
          },
          "is_validated": {
            "type": "boolean",
            "example": true
          },
          "address_phone_number": {
            "type": "string"
          },
          "first_name": {
            "type": "string",
            "example": "Keyon"
          },
          "last_name": {
            "type": "string",
            "example": "Will"
          },
          "address_email": {
            "type": "string"
          },
          "address_group": {
            "type": "string"
          },
          "address_custom_data": {
            "type": "object",
            "properties": {
              "custom field name #1": {
                "type": "string",
                "example": "custom field value #1"
              },
              "custom field name #2": {
                "type": "string",
                "example": "custom field value #2"
              }
            }
          },
          "local_time_window_start": {
            "type": "number"
          },
          "local_time_window_end": {
            "type": "number"
          },
          "local_time_window_start_2": {
            "type": "number"
          },
          "local_time_window_end_2": {
            "type": "number"
          },
          "local_timezone_string": {
            "type": "string"
          },
          "service_time": {
            "type": "number",
            "minimum": 0,
            "maximum": 65535,
            "example": 300
          },
          "color": {
            "type": "string",
            "example": "000000"
          },
          "address_icon": {
            "type": "string"
          },
          "schedule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduleItem"
            }
          },
          "schedule_blacklist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScheduleBlacklistItem"
            }
          },
          "address_stop_type": {
            "type": "string",
            "enum": [
              "DELIVERY",
              "PICKUP",
              "BREAK",
              "MEETUP",
              "SERVICE",
              "VISIT",
              "DRIVEBY"
            ]
          },
          "address_cube": {
            "type": "number"
          },
          "address_pieces": {
            "type": "number"
          },
          "address_reference_no": {
            "type": "string"
          },
          "address_revenue": {
            "type": "number"
          },
          "address_weight": {
            "type": "number"
          },
          "address_priority": {
            "type": "number"
          },
          "address_customer_po": {
            "type": "string"
          },
          "eligible_pickup": {
            "type": "boolean",
            "example": true
          },
          "eligible_depot": {
            "type": "boolean",
            "example": true
          },
          "customer_id": {
            "type": "string",
            "format": "hex",
            "nullable": true,
            "example": "FCDD9147220CCD129B34A34AAEAC41BE"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Error403": {
        "type": "object",
        "properties": {
          "status": {
            "type": "boolean",
            "example": false
          },
          "code": {
            "type": "integer",
            "example": 403
          },
          "exit_code": {
            "type": "integer",
            "example": 1
          },
          "error": {
            "type": "string"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "message"
            }
          }
        }
      },
      "Error406": {
        "type": "object",
        "properties": {
          "status": {
            "type": "boolean",
            "example": false
          },
          "code": {
            "type": "integer",
            "example": 406
          },
          "exit_code": {
            "type": "integer",
            "example": 1
          },
          "error": {
            "type": "string",
            "example": "The given data was invalid."
          },
          "messages": {
            "type": "object",
            "properties": {
              "validated_property": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "message"
                }
              }
            }
          },
          "validation_errors": {
            "type": "object",
            "properties": {
              "validated_property": {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "message"
                }
              }
            }
          }
        }
      },
      "ScheduleItem": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean",
            "example": true
          },
          "from": {
            "type": "string",
            "description": "Date string with the 'YYYY-MM-DD' format.",
            "example": "2019-12-12"
          },
          "mode": {
            "type": "string",
            "example": "monthly"
          },
          "monthly": {
            "type": "object",
            "properties": {
              "every": {
                "type": "number",
                "example": 1
              }
            }
          }
        }
      },
      "ScheduleBlacklistItem": {
        "description": "Also can be a date string with the 'YYYY-MM-DD' format.",
        "type": "array",
        "items": {
          "type": "string"
        },
        "example": [
          "2019-12-12",
          "2019-12-22"
        ]
      },
      "CombinedRequest": {
        "title": "CombinedRequest",
        "description": "Get combined list with locations data",
        "properties": {
          "filters": {
            "properties": {
              "search_query": {
                "type": "string"
              },
              "view_mode": {
                "type": "string",
                "enum": [
                  "customer_locations",
                  "telematic_snapshot",
                  "customer_snapshot"
                ]
              },
              "address_stop_type": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "address_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "root_member_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "member_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "external_connection_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "external_vendor_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "external_object_id": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "customer_id": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "hex32"
                }
              },
              "assigned_to": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "address_cube": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "address_pieces": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "address_priority": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "address_revenue": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "address_weight": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "in_route_count": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "service_time": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "visited_count": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2
              },
              "is_depot": {
                "type": "array",
                "items": {
                  "type": "boolean"
                },
                "maxItems": 2
              },
              "is_pickup": {
                "type": "array",
                "items": {
                  "type": "boolean"
                },
                "maxItems": 2
              },
              "is_assigned": {
                "type": "array",
                "items": {
                  "type": "boolean"
                },
                "maxItems": 2
              },
              "is_external": {
                "type": "array",
                "items": {
                  "type": "boolean"
                },
                "maxItems": 2
              },
              "parent_location_id": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "location_type_id": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "hex32"
                }
              },
              "display": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "routed",
                    "unrouted"
                  ]
                },
                "maxItems": 2
              },
              "territories": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "hex32"
                }
              },
              "created_date": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "Y-m-d",
                  "example": "2025-01-22"
                },
                "maxItems": 2
              },
              "routed_date": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "Y-m-d",
                  "example": "2025-01-22"
                },
                "maxItems": 2
              },
              "visited_date": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "Y-m-d",
                  "example": "2025-01-22"
                },
                "maxItems": 2
              },
              "bounding_box": {
                "properties": {
                  "top": {
                    "type": "number"
                  },
                  "left": {
                    "type": "number"
                  },
                  "bottom": {
                    "type": "number"
                  },
                  "right": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "selected_areas": {
                "type": "array",
                "items": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "Point",
                        "MultiPoint",
                        "LineString",
                        "MultiLineString",
                        "Polygon",
                        "MultiPolygon",
                        "Circle"
                      ]
                    },
                    "coordinates": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  },
                  "type": "object"
                }
              },
              "excluded_ids": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "type": "object",
            "nullable": true
          },
          "order_by": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "example": "[[\"field_name\", \"direction\"]]",
            "nullable": true
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "nullable": true
          },
          "per_page": {
            "type": "integer",
            "maximum": 500,
            "minimum": 1,
            "nullable": true
          },
          "group_by": {
            "type": "string",
            "enum": [
              "customer"
            ],
            "nullable": true
          },
          "selected_fields": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "type": "object"
      }
    }
  }
}
```