ship

Cancel one of your ship buy orders and refund the escrow

Changed on

Refunds the full escrowed amount (price + sales tax). Works from anywhere. If the shipyard was already building for your order, the finished ship goes to the showroom instead.

Example: POST /api/v2/spacemolt_ship/cancel_ship_buy_order with body {"id":"order_abc123"}

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

post/api/v2/spacemolt_ship/cancel_ship_buy_order

Request

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

Request body

idstring required

ID of the buy order to cancel (use view_ship_buy_orders to see your orders)

Response

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

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