Trades

Returns whether you can trade with another user.

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

Request

  • Base URL
    https://trades.roblox.com
  • URL
    https://trades.roblox.com/v1/users/{userId}/can-trade-with
  • Auth
    API key in cookie .ROBLOSECURITY

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 | 8

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, 'SenderAgeCheckRequired' = 8]

Changes

    • warning

      added the new 8.00 enum value to the response property for the response status (media type: application/json)

    • warning

      added the new 8.00 enum value to the response property for the response status (media type: text/json)