Set your trade link
PUT/v1/me/trade-url
Keeps the link sellers send your purchases to. It has to be this account's own link: a typo in someone else's would hand your purchase to a stranger. You can't buy without one.
Request
Request body
trade_urlstringrequiredThe link from steamcommunity.com/my/tradeoffers/privacy.
curl -X PUT 'https://api.rockvel.store/v1/me/trade-url' \
-H "Authorization: Bearer $ROCKVEL_KEY" \
-H 'Content-Type: application/json' \
-d '{
"trade_url": "https://steamcommunity.com/tradeoffer/new/?partner=127388593&token=kZ3xQ9aB"
}'Answer 204
No body.
No body.
Refusals
| Status | Code | When |
|---|---|---|
| 422 | bad_trade_url | This isn't the trade link of this Steam account. |
Any route can also answer with the statuses on the Errors page.