> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update business location

> Changes an Uber Direct store's name, phone, address, coordinates, or external ID.

`uber.updateBusinessLocation` changes the fields you pass and returns the updated store.

```ts automations/update-uber-store.automation.ts theme={null}
import { automation, markSignificant, onDashboardRun } from "automate.ax"
import { uber } from "automate.ax/uber"

export default automation("Update store phone", () => {
  onDashboardRun({ title: "Update store phone" })
  markSignificant(
    uber.updateBusinessLocation({
      businessLocationId: "location-id",
      phoneNumber: "+15555555555",
    }),
  )
})
```

`businessLocationId` is required. You can change `name`, `phoneNumber`, `detailedAddress` (`streetAddress1`, `streetAddress2`, `city`, `state`, `zipCode`, and two-letter `country`), `location` (`lat` and `lng`), and `externalBusinessLocationId`. Changing `externalBusinessLocationId` changes the `externalStoreId` that deliveries must use for this store.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.