transferItem function

Future<ServerResponse<int>> transferItem (
  1. HttpClient http,
  2. DestinyItemTransferRequest body
)

Transfer an item to/from your vault. You must have a valid Destiny account. You must also pass BOTH a reference AND an instance ID if it's an instanced item. itshappening.gif

Implementation

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