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

# PFInventoryRedeemAppleAppStoreInventoryItemsAsync

> Canjea artículos comprados en el App Store de Apple en una colección de inventario de PlayFab para que los derechos de las compras de iOS o macOS se concedan al jugador.

Canjea artículos.

## Sintaxis

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

### Parámetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle que se usará para la autenticación.

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

Objeto de solicitud rellenado.

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

XAsyncBlock para la operación asincrónica.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Comentarios

Esta API está disponible en Windows e iOS. Canjea artículos del App Store de Apple. Cuando se complete la tarea asincrónica, llame a [PFInventoryRedeemAppleAppStoreInventoryItemsGetResultSize](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemappleappstoreinventoryitemsgetresultsize.md) y [PFInventoryRedeemAppleAppStoreInventoryItemsGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemappleappstoreinventoryitemsgetresult.md) para obtener el resultado.

## Requisitos

**Encabezado:** PFInventory.h

## Consulte también

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


## Related topics

- [PFInventoryRedeemAppleAppStoreInventoryItemsGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventory/functions/pfinventoryredeemappleappstoreinventoryitemsgetresult.md)
- [Información general de la API de C de Services - PFInventory.h](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryRedeemAppleAppStoreInventoryItemsRequest](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemappleappstoreinventoryitemsrequest.md)
- [Redeem Apple App Store Inventory Items](https://docs.xbox.com/api-reference/inventory/redeem-apple-app-store-inventory-items.md)
- [PFInventoryRedeemAppleAppStoreInventoryItemsResponse](https://docs.xbox.com/es/services/playfab/api-references/c/pfinventorytypes/structs/pfinventoryredeemappleappstoreinventoryitemsresponse.md)
