Buy items in bulk and send to one tradelink
Buy up to multiple items in one request. Each item is purchased independently — check the per-item success in the response array. Prices are integer units (USD * 1000), same as /v1/buy-one-p2p. We recommend adding a project_id per item so you can track trades with the /check-many-project-id GET method in case of a timeout.
Prices are integers. 1000 = $1.00 USD.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API |
Request body
| Name | Location | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tradelinkoptional | body | string | Steam trade link the items are sent to | ||||||||||||||||
alloptional | body | boolean | Fail the whole request unless every item can be bought | ||||||||||||||||
itemsrequired | body | array<object> | |||||||||||||||||
| |||||||||||||||||||
{
"tradelink": "string",
"all": false,
"items": [
{
"item_id": "string",
"name": "string",
"price": 0,
"project_id": "string"
}
]
}Responses
200 Per-item purchase results
{
"success": false,
"msg": "string",
"items": [
{
"success": false,
"id": 0,
"item_id": "string",
"name": "string",
"price": 0,
"internal_item_id": "string",
"new_price": 0,
"msg": "string",
"error_msg": "string"
}
]
}