---
title: "Update a client hub by its external ID."
method: PUT
path: "/v1/hubs/none/{hub_external_id}"
tags: ["hubs"]
---

# Update a client hub by its external ID.

`PUT /v1/hubs/none/{hub_external_id}`

## Request

- Base URL: `https://logistics.api.cabify-sandbox.com`
- URL: `https://logistics.api.cabify-sandbox.com/v1/hubs/none/{hub_external_id}`
- Auth: HTTP bearer

Updates the details of a specific hub identified by your external ID.

## Path parameters

- `hub_external_id` string, required

## Request body

- object: Request body for updating an existing client hub. Only included fields will be modified.
  - `address` string: Updated full street address of the hub.
  - `location` Location (unresolved $ref)
  - `instructions` string: Updated instructions for drivers arriving at this hub.
  - `contact` object: Updated primary contact person at this hub.
    - `name` string: Full name of the contact person.
    - `phone` string: Phone number of the contact person.

## Response `200`

Hub updated successfully.

## Other responses

- `401`: Unauthorized. Missing or invalid authentication token.
- `429`: Too many requests. This API is rate limited per account and per endpoint. A 429 is an expected condition rather than a failed request: back off and retry it. The limits are not the same for every endpoint and can change, so handle the status instead of hard-coding a rate. See the Limits and reliability guide.

---

[API](https://skmtc.dev/cabify/apis/cabify-logistics-api.md) - [All operations](https://skmtc.dev/cabify/apis/cabify-logistics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cabify/apis/cabify-logistics-api/revisions/dff49457aac9?raw)
