Fleet
Refuel Ship
Changed onRefuel your ship by buying fuel from the local market.
Requires the ship to be docked in a waypoint that has the Marketplace trait, and the market must be selling fuel in order to refuel.
Each fuel bought from the market replenishes 100 units in your ship's fuel.
Ships will always be refuel to their frame's maximum fuel capacity when using this action.
post/my/ships/{shipSymbol}/refuel
Request
- Base URLhttps://api.spacetraders.io/v2
- URLhttps://api.spacetraders.io/v2/my/ships/{shipSymbol}/refuel
- AuthHTTP bearer
Path parameters
shipSymbolstring required
The ship symbol.
Request body
Example request
{
"units": 100
}Response
Refueled successfully.
Changes
- info
added the optional property
/to the response with the status
- info
- breaking
added the new path request parameter
shipSymbol
- breaking