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

# PFInventoryRedeemGooglePlayInventoryItemsAsync

> Redeem inventory items from the Google Play Store for an entity. Available on Windows and Android; get the result size and result when the task completes.

Redeem items.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFInventoryRedeemGooglePlayInventoryItemsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemgoogleplayinventoryitemsrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows and Android. Redeem items from the Google Play Store. When the asynchronous task is complete, call [PFInventoryRedeemGooglePlayInventoryItemsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemgoogleplayinventoryitemsgetresultsize.md) and [PFInventoryRedeemGooglePlayInventoryItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemgoogleplayinventoryitemsgetresult.md) to get the result.

## Requirements

**Header:** PFInventory.h

## See also

[PFInventory members](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/pfinventory_members.md)


## Related topics

- [PFInventoryRedeemGooglePlayInventoryItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemgoogleplayinventoryitemsgetresult.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryRedeemGooglePlayInventoryItemsRequest](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemgoogleplayinventoryitemsrequest.md)
- [Redeem Google Play Inventory Items](https://docs.xbox.com/api-reference/inventory/redeem-google-play-inventory-items.md)
- [PFInventoryRedeemGooglePlayInventoryItemsResponse](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemgoogleplayinventoryitemsresponse.md)
