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

# PFInventoryRedeemMicrosoftStoreInventoryItemsAsync

> Redeem items from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable.

Redeem items from the Microsoft Store. Supported entitlement types are Developer Manager Consumable and Durable.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFInventoryRedeemMicrosoftStoreInventoryItemsRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsrequest.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, Linux, and macOS. Redeem items from the Microsoft Store. When the asynchronous task is complete, call [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresultsize.md) and [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresult.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

- [PFInventoryRedeemMicrosoftStoreInventoryItemsGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemmicrosoftstoreinventoryitemsgetresult.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Redeem Microsoft Store Inventory Items](https://docs.xbox.com/services/playfab/api-references/rest/economy/inventory/redeem-microsoft-store-inventory-items.md)
- [PFInventoryRedeemMicrosoftStoreInventoryItemsRequest](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsrequest.md)
- [PFInventoryRedeemMicrosoftStoreInventoryItemsResponse](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemmicrosoftstoreinventoryitemsresponse.md)
