---
title: "Link Locations"
method: POST
path: "/v4/shippingAccounts/dhlexpress/{shippingAccountId}/linkLocations"
tags: ["Shipping Accounts"]
---

# Link Locations

`POST /v4/shippingAccounts/dhlexpress/{shippingAccountId}/linkLocations`

## Request

- Base URL: `https://api.intersoftsapient.net`
- URL: `https://api.intersoftsapient.net/v4/shippingAccounts/dhlexpress/{shippingAccountId}/linkLocations`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://authentication.intersoftsapient.net/connect/token`

Link one or more shipping locations with a DHL Express shipping account.

## Path parameters

- `shippingAccountId` string, required

## Request body

- ShippingLocationIdRequest[]
  - `ShippingLocationId` string, required: A unique identifier for the shipping location assigned by the system or by you (alias), allowing users to reference and manage specific locations effectively. <br /> <br />***Note:** The information provided in this field and the **ShippingAccountId** field are being linked with each other.*

## Response `200`

The shipping location(s) have been linked to the account successfully.

## Other responses

- `400`: Invalid request response.
- `401`: Unauthorized
- `403`: Forbidden
- `404`: The shipping account was not found.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/intersoftsapient/apis/dhl-express.md) - [All operations](https://skmtc.dev/intersoftsapient/apis/dhl-express/llms.txt) - [OpenAPI document](https://skmtc.dev/intersoftsapient/apis/dhl-express/revisions/4259ed907a39?raw)
