---
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

---

[API](https://skmtc.net/spacetradersapi/apis/spacetraders-api.md) · [All operations](https://skmtc.net/spacetradersapi/apis/spacetraders-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacetradersapi/spacetraders-api/revisions/197cf9b9a2b6/schema)
