---
title: "Set empty location"
method: POST
path: "/api/v2/shipments/{shipment_id}/empty_location"
tags: ["Shipments"]
---

# Set empty location

`POST /api/v2/shipments/{shipment_id}/empty_location`

Allows a three party partner to set an empty location for a taken load.

## Path parameters

- `shipment_id` string, uuid, required — Shipment UUID

## Request body

- object
  - `city` string, required — Truck empty location's city
  - `state` string, required — Truck empty location's state
  - `zipcode` string, required — Truck empty location's zipcode (first five digits)
  - `available_date` string, date-time, required — The date and time the truck is going to be available (UTC)

## Response `201`

All provided data is valid and the empty location was set.

## Other responses

- `403` — Logged carrier is not related to the shipment and empty location can't be set.
- `422` — Payload is invalid or shipment doesn't exist and the empty location can't be set.

---

[API](https://skmtc.dev/loadsmart/apis/loadsmart-api.md) · [All operations](https://skmtc.dev/loadsmart/apis/loadsmart-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loadsmart/loadsmart-api/revisions/6021c5806fe9/schema)
