Fleet
Sell Cargo
Changed onSell 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 URLhttps://api.spacetraders.io/v2
- URLhttps://api.spacetraders.io/v2/my/ships/{shipSymbol}/sell
- AuthHTTP bearer
Path parameters
shipSymbolstring required
Symbol of a ship.
Request body
Response
Cargo was successfully sold.
Changes
- breaking
added the new path request parameter
shipSymbol
- breaking
- breaking
the
request property type changed fromstringto no type
- breaking