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

# Link Locations

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

Link one or more shipping locations with a DX 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/sapient-core-api.md) · [All operations](https://skmtc.dev/intersoftsapient/apis/sapient-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/intersoftsapient/apis/sapient-core-api/revisions/3315ad0b5875?raw)
