Skip to main content
PUT
Update Logistic Hub

Update Logistic Hub

Update an existing logistic hub in your organization. Only include the fields you want to change — all other fields remain unchanged.
Auto-creation: If you change type to owned on a hub that has no linked facility and provide an address, a new facility will be automatically created and linked.

Request

Path Parameters

uuid
required
The UUID of the logistic hub to updateExample: 550e8400-e29b-41d4-a716-446655440000

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Body Parameters

All fields are optional — only include what you want to change.
string
Hub name
string
Physical address
string
ISO country code
string
Hub type: owned or subcontracted
string
Hub category
uuid
Linked facility ID
boolean
Whether hub is a supercharger

Response

Returns the updated logistic hub object.
string
Logistic hub UUID
string
Hub name
string
Hub type: owned or subcontracted
string | null
Hub category classification (e.g. warehouse_ambient, warehouse_mixed)
string | null
Physical address
string | null
ISO country code
string
Hub status: active or archived
boolean
Whether the hub is a supercharger
string | null
UUID of the linked facility (only for owned hubs)
number | null
CO2e emissions from the linked facility (tCO2e)
datetime
Creation timestamp (ISO 8601)
string | null
Last update timestamp (ISO 8601)

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The logistic hub does not exist or belongs to another organization

422 Unprocessable Entity

Cause: Invalid field value (e.g. invalid country code or UUID format)

Get Logistic Hub

Retrieve logistic hub details

Delete Logistic Hub

Remove a logistic hub