buy
Buy goods instantly from the station market at the current price. Ship must be docked. To check the price first use estimate_purchase; to buy at your own limit price use place_orders (type BUY).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bearer | No | Your SPACE-CORE Bearer token. Only needed if your client cannot send the Authorization header. | |
| quantity | Yes | How many to buy | |
| item_code | Yes | Item code, e.g. FUEL_ROD |