v2

latestOpenAPI 3.0.42026-08-088161,1253.1 MB
Accounts

Updates a user's trade privacy setting

post/v1/trade-privacy

Request body

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

The desired trade privacy setting for the active user ['Undefined' = 0, 'Disabled' = 1, 'NoOne' = 2, 'Friends' = 3, 'TopFriends' = 4, 'Following' = 5, 'Followers' = 6, 'All' = 7]

Response

OK

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

The trade privacy setting after updating ['Undefined' = 0, 'Disabled' = 1, 'NoOne' = 2, 'Friends' = 3, 'TopFriends' = 4, 'Following' = 5, 'Followers' = 6, 'All' = 7]

inventoryPrivacy1 | 2 | 3 | 4 | 5 | 6

The inventory privacy setting after updating ['NoOne' = 1, 'Friends' = 2, 'FriendsAndFollowing' = 3, 'FriendsFollowingAndFollowers' = 4, 'AllAuthenticatedUsers' = 5, 'AllUsers' = 6]

privacySettingResponse0 | 1

The response state after updating trade privacy ['Success' = 0, 'Conflict' = 1]