> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFInventoryTransferInventoryItemsAsync

> Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not complete within the timeframe of the request.

Transfer inventory items. When transferring across collections, a 202 response indicates that the transfer did not complete within the timeframe of the request. You can identify the pending operations by looking for OperationStatus = 'InProgress'. You can check on the operation status at anytime within 1 day of the request by passing the TransactionToken to the GetInventoryOperationStatus API. More information about item transfer scenarios can be found here: [/services/playfab/economy-monetization/economy-v2/inventory/?tabs=inventory-game-manager#transfer-inventory-items](/services/playfab/economy-monetization/economy-v2/inventory#transfer-inventory-items)

## Syntax

```cpp theme={null}
HRESULT PFInventoryTransferInventoryItemsAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryTransferInventoryItemsRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFInventoryTransferInventoryItemsRequest\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorytransferinventoryitemsrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. Transfer the specified inventory items of an entity's container Id to another entity's container Id. When the asynchronous task is complete, call [PFInventoryTransferInventoryItemsGetResultSize](/services/playfab/api-references/c/pfinventory/functions/pfinventorytransferinventoryitemsgetresultsize) and [PFInventoryTransferInventoryItemsGetResult](/services/playfab/api-references/c/pfinventory/functions/pfinventorytransferinventoryitemsgetresult) to get the result.

## Requirements

**Header:** PFInventory.h

## See also

[PFInventory members](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

- [PFInventoryTransferInventoryItemsGetResult](/services/playfab/api-references/c/pfinventory/functions/pfinventorytransferinventoryitemsgetresult.md)
- [Services C API overview - PFInventory.h](/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryTransferInventoryItemsRequest](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorytransferinventoryitemsrequest.md)
- [PFInventoryTransferInventoryItemsOperation](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorytransferinventoryitemsoperation.md)
- [PFInventoryTransferInventoryItemsResponse](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorytransferinventoryitemsresponse.md)
