Send a trade report
POST/v1/trades/reports
Says what Steam shows about your offers and trades, in Steam's own numbers. A deal moves only on these reports, so send one every three minutes while you have sales to follow, even an empty one. A report can only speak about your own sales.
Request
Request body
offersobject[]requiredYour sent offers from IEconService/GetTradeOffers.
Fields of offers
offer_idstringrequiredSteam's tradeofferid.
stateintegerrequiredSteam's trade_offer_state.
given_asset_idsstring[]The asset ids in items_to_give. A sale gives one item.
received_asset_idsstring[]The asset ids in items_to_receive. A sale asks for nothing, so this stays empty.
other_steam_idstringThe buyer's SteamID64.
time_createdintegerSteam's time_created, in Unix seconds.
tradesobject[]requiredYour trades from IEconService/GetTradeHistory.
Fields of trades
trade_idstringrequiredSteam's tradeid.
statusintegerrequiredSteam's trade status.
given_asset_idsstring[]The asset ids in assets_given.
other_steam_idstringSteam's steamid_other.
time_initintegerSteam's time_init, in Unix seconds.
problemstringWhat kept you from reading Steam, if something did.
One of
steam_signed_outsteam_unavailable
curl -X POST 'https://api.rockvel.store/v1/trades/reports' \
-H "Authorization: Bearer $ROCKVEL_KEY" \
-H 'Content-Type: application/json' \
-d '{
"offers": [
{
"offer_id": "8412653097",
"state": 3,
"given_asset_ids": ["54267934219"],
"other_steam_id": "76561198087654321",
"time_created": 1793612717
}
],
"trades": [
{
"trade_id": "702419358761203845",
"status": 3,
"given_asset_ids": ["54267934219"],
"other_steam_id": "76561198087654321",
"time_init": 1793613617
}
]
}'Answer 204
No body.
No body.
Any route can also answer with the statuses on the Errors page.