---
title: "Cancel a freight shipment"
method: DELETE
path: "/v1/freight/shipments/{freight_shipment_id}"
tags: ["freight"]
---

# Cancel a freight shipment

`DELETE /v1/freight/shipments/{freight_shipment_id}`

Cancel a booked freight shipment with the carrier. The response lists the provider transactions that were cancelled — typically the shipment (Bill of Lading) and the pickup.

Cancellation windows are set by the carrier. A shipment that has already been picked up usually cannot be cancelled, and the provider's rejection is returned as a `400 Bad Request`.

## Response `200`

The request was a success.

- CancelFreightShipmentResponseBody — The result of cancelling a freight shipment.
  - `freight_shipment_id` string — A string that uniquely identifies a ShipEngine resource, such as a carrier, label, shipment, etc.
  - `cancelled_transactions` string[], nullable — The provider transactions that were cancelled — typically the booked shipment and the pickup request. `null` when the provider did not report any.

## Other responses

- `400` — The freight shipment ID is malformed, or the provider rejected the cancellation.
- `404` — The freight shipment does not exist on this account.
- `500` — An error occurred on ShipEngine's side. > This error will automatically be reported to our engineers.

---

[API](https://skmtc.net/shipstation/apis/shipengine-api.md) · [All operations](https://skmtc.net/shipstation/apis/shipengine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipstation/shipengine-api/revisions/8d8a7cf79204/schema)
