> ## 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.

# PFInventoryRedeemSteamInventoryItemsAsync

> Redeems items purchased on Steam into a PlayFab inventory collection so entitlements from Steamworks purchases are granted to the corresponding PlayFab player.

Redeem items.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

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

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 Win32, Linux, and macOS. Redeem inventory items from Steam. When the asynchronous task is complete, call [PFInventoryRedeemSteamInventoryItemsGetResultSize](/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemsteaminventoryitemsgetresultsize) and [PFInventoryRedeemSteamInventoryItemsGetResult](/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemsteaminventoryitemsgetresult) to get the result.

## Requirements

**Header:** PFInventory.h

## See also

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