Skip to content
Revadike edited this page Nov 5, 2026 · 1 revision

POST /tradeoffer/:tradeofferid/cancel

Cancels a trade offer created by the logged-in user.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /tradeoffer/:tradeofferid/cancel

Variables:

Name Type Description
:tradeofferid number The trade offer ID

Form Data:

Name Type Required Description
sessionid string Yes The value of the sessionid cookie

Response

200 OK

Name Type Description
tradeofferid string The ID of the cancelled trade offer

400 Bad Request

Name Type Description
success boolean Whether the request was successful
error string The error message

500 Internal Server Error

Name Type Description
success number The error code (42 when the trade offer is not found)

Example

POST https://steamcommunity.com/tradeoffer/5583701352/cancel { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn" }

TODO

Clone this wiki locally