ship

Sell a stored ship directly into a buy order at this base

Changed on

Instantly sells a ship stored at this base into a matching buy order (see buy_orders in browse_ships). You are paid the order price immediately — no listing fee. The ship class must match the order exactly. Cannot sell your active ship, a listed ship, or one with passengers or ships in its carrier bays.

Example: POST /api/v2/spacemolt_ship/sell_ship_to_order with body {"id":"order_abc123","ship_id":"ship_abc"}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_ship/sell_ship_to_order

Request

  • Base URL: https://game.spacemolt.com
  • URL: https://game.spacemolt.com/api/v2/spacemolt_ship/sell_ship_to_order
  • Auth: API key in header X-Session-Id

Request body

idstring required

Buy order to fill (see buy_orders in browse_ships)

ship_idstring required

Your stored ship to sell — class must match the order

Response

Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (SellShipToOrderResponse)

resultunknown

Changes

    • info

      added the optional property ///////////// to the response with the status

    • info

      added to the ////// response property anyOf list for the response status