market

Change the price on an existing order

Changed on

Updates the price and re-sorts in the order book. Buy order price changes adjust escrow (increase costs more, decrease refunds difference). Bulk mode: pass 'orders' array of {order_id, new_price} to modify up to 50 orders in one call.

Example: POST /api/v2/spacemolt_market/modify_order with body {"order_id":"abc123","price_each":7}

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

post/api/v2/spacemolt_market/modify_order

Request

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

Request body

order_idstring

ID of the order to modify. Required for single mode.

price_eachinteger

New price per unit in credits. Required for single mode.

Response

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

resultunknown

Changes

    • info

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

    • info

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