v1

latestOpenAPI 3.0.42026-08-068161,1253.1 MB
Trades

Returns whether you can trade with another user.

get/v1/users/{userId}/can-trade-with

Path parameters

userIdinteger required

The other user's id.

Response

OK

canTradeboolean

Returns true if you can trade with the given user.

status0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

If you can't trade with a user, status explains why you can't trade with them. ['Unknown' = 0, 'CanTrade' = 1, 'CannotTradeWithSelf' = 2, 'SenderCannotTrade' = 3, 'ReceiverCannotTrade' = 4, 'SenderPrivacyTooStrict' = 5, 'UsersCannotTrade' = 6, 'TradeAccepterNeedsFriction' = 7]