Create buy order
Item definition ID
Buy order price in cents
Quantity to buy (max 500,000)
Validation rules
- Cannot have duplicate buy orders for the same item
- Amount must be ≤ 500,000
- User must have sufficient balance to cover
amount × price - Buy order modifications are tracked per day per user
Update buy order
Item definition ID
New buy order price in cents
New quantity
Remove buy order
Item definition ID
Get user buy order for an item
Item definition ID
Buy order type
| Field | Type | Description |
|---|---|---|
id | integer | Buy order ID |
steamid | string | User SteamID |
itemid | integer | Item definition ID |
price | integer | Buy order price in cents |
amount | integer | Remaining quantity |
name | string | Buy order name |
Get user buy order list
{userid} variant)
SteamID of user (admin only)
Pagination offset
Number of items per page
Search filter (matches item name + effect, minimum 4 characters)
Response
Buy order lifecycle
Balance check (cron)
A cron job periodically checks if users have sufficient balance to cover their buy orders. Orders are deactivated (amount set to negative) if balance is insufficient, and reactivated when balance is restored.
Execution
When a matching item is listed for sale at or below the buy order price, the transaction is executed automatically.