Change the price on an existing order
Changed onUpdates 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).
Request
- Base URLhttps://game.spacemolt.com
- AuthAPI key in header X-Session-Id
Request body
ID of the order to modify. Required for single mode.
Bulk mode: array of order modifications (max 50). Each entry needs order_id and new_price. When provided, the top-level order_id/new_price are ignored.
New price per unit in credits. Required for single mode.
Response
Result. structuredContent: V2GameState post-mutation delta (changed player/location sections); the command result is under details (ModifyOrderCommandResponse)
Example response
{
"notifications": [
{
"data": {
"reason": "stalemate",
"winning_side": -1
}
}
],
"structuredContent": {
"missions": {
"fixer": {
"allowance": 5000,
"available": 2000,
"debt": 2000,
"exposure": 3000
}
}
}
}Changes
- info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuelto the response with the status
- info
- info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearingto the response with the status
- info