create_buy_order
Place a buy offer on the station exchange (Listing fee on the portion that goes on the order book (1% default; pirate strongholds and stations with a custom market fee charge more). Instant fills incur no fee. Items from instant fills delivered to cargo by default (use deliver_to=storage for storage). Accepts item_id or item name (e.g. 'Iron Ore'). Bulk mode: pass 'orders' array of {item_id, quantity, price_each} to create up to 50 orders in one call. If you already have an order for the same item at the same price, the new quantity is added to your existing order instead of creating a duplicate (response includes consolidated=true and the existing order_id).)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orders | No | Bulk mode: array of buy orders to create (max 50). Each entry needs item_id, quantity, price_each. When provided, the top-level item_id/quantity/price_each are ignored. | |
| item_id | No | ID of the item to buy (e.g., iron_ore, steel_plate). Required for single mode. | |
| quantity | No | Number of items to buy. Required for single mode. | |
| deliver_to | No | Where to deliver filled items: 'cargo' (default) or 'storage' (station storage). | |
| price_each | No | Maximum price per unit in credits. Required for single mode. | |
| session_id | Yes | Your session ID from login/register |