Trades

Checks if the user can trade with a specific user.

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

Request

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

Path parameters

userIdinteger required

Response

OK

userIdinteger

The ID of the user.

targetUserIdinteger

The ID of the target user.

canTradeboolean

Whether the user can trade with the target user or not.

mutualTradeEligibility'Unknown' | 'Eligible' | 'CallingUserIneligible' | 'TargetUserIneligible' | 'CannotTradeWithSelf' | 'CallingUserPrivacySettingsRestricted' | 'CallingUserAgeCheckRequired'

The mutual trade eligibility status between the two users. ['Unknown' = 0, 'Eligible' = 1, 'CallingUserIneligible' = 2, 'TargetUserIneligible' = 3, 'CannotTradeWithSelf' = 4, 'CallingUserPrivacySettingsRestricted' = 5, 'CallingUserAgeCheckRequired' = 6]

Changes

    • warning

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

    • warning

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

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)