setItemLockState function

Future<ServerResponse<int>> setItemLockState (
  1. HttpClient http,
  2. DestinyItemStateRequest body
)

Set the Lock State for an instanced item. You must have a valid Destiny Account.

Implementation

Future<ServerResponse<int>> setItemLockState(HttpClient http, DestinyItemStateRequest body) {
  return http.request(new HttpClientConfig(
    'POST',
    "https://www.bungie.net/Platform/Destiny2/Actions/Items/SetLockState/",
    null,
    body
    ));
}