Fleet

Sell cargo in your ship to a market that trades this cargo. The ship must be docked in a waypoint that has the Marketplace trait in order to use this function.

post/my/ships/{shipSymbol}/sell

Request

  • Base URL
    https://api.spacetraders.io/v2
  • URL
    https://api.spacetraders.io/v2/my/ships/{shipSymbol}/sell
  • Auth
    HTTP bearer

Path parameters

shipSymbolstring required

Symbol of a ship.

Request body

symbolTradeSymbolJson required(unresolved $ref)
unitsinteger required

Amounts of units to sell of the selected good.

Response

Cargo was successfully sold.

Changes