---
title: "Deliver Cargo to Contract"
method: POST
path: "/my/contracts/{contractId}/deliver"
tags: ["Contracts"]
---

# Deliver Cargo to Contract

`POST /my/contracts/{contractId}/deliver`

Deliver cargo to a contract.

In order to use this API, a ship must be at the delivery location (denoted in the delivery terms as `destinationSymbol` of a contract) and must have a number of units of a good required by this contract in its cargo.

Cargo that was delivered will be removed from the ship's cargo.

## Path parameters

- `contractId` string, required

## Request body

- object
  - `shipSymbol` string, required — Symbol of a ship located in the destination to deliver a contract and that has a good to deliver in its cargo.
  - `tradeSymbol` string, required — The symbol of the good to deliver.
  - `units` integer, required — Amount of units to deliver.

## Response `200`

Successfully delivered cargo to contract.

- object
  - `data` object, required
    - `contract` ContractJson, required — unresolved $ref
    - `cargo` ShipCargoJson, required — unresolved $ref

## Changes

> 50 revisions in range; 2 not diffed.

- **2025-02-06** `a4500b4e7ef1` — 1 breaking
  - added the new path request parameter `contractId`
- **2023-06-09** `735393b679c5` — 2 info
  - api tag `Contracts` added
  - api tag `contracts` removed
- **2023-05-23** `252df2c2fc84` — 1 info
  - endpoint added
- **2023-05-20** `86f8c56c4690` — 1 warning, 2 info
  - deleted the `path` request parameter `contractId`
  - api tag `contracts` added
  - api tag `Contracts` removed

[Change history](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/changes/my/contracts/:contractId/deliver/post.md)

---

[API](https://skmtc.dev/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacetradersapi/apis/spacetraders-api/revisions/197cf9b9a2b6?raw)
