Trades

Checks if the user can trade with a specific user.

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

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'

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

Changes

Changed in 1 of the 14 revisions of this API.2

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

      response-optional-property-added

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

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog