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

# PFInventoryPurchaseInventoryItemsAsync

> 아이템 또는 번들을 구매합니다. 단일 인벤토리 컬렉션에 최대 10,000개의 아이템 스택을 추가할 수 있습니다. 스택 크기는 제한이 없습니다.

아이템 또는 번들을 구매합니다. 단일 인벤토리 컬렉션에 최대 10,000개의 아이템 스택을 추가할 수 있습니다. 스택 크기는 제한이 없습니다.

## 구문

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

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

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

채워진 요청 객체입니다.

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

비동기 작업을 위한 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 설명

이 API는 모든 플랫폼에서 사용할 수 있습니다. 관련 가격을 지불하여 단일 아이템 또는 번들을 구매합니다. 비동기 작업이 완료되면 [PFInventoryPurchaseInventoryItemsGetResultSize](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorypurchaseinventoryitemsgetresultsize.md) 및 [PFInventoryPurchaseInventoryItemsGetResult](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorypurchaseinventoryitemsgetresult.md)를 호출하여 결과를 가져옵니다.

## 요구 사항

**헤더:** PFInventory.h

## 참고 항목

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


## Related topics

- [PFInventoryPurchaseInventoryItemsGetResult](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorypurchaseinventoryitemsgetresult.md)
- [Services C API 개요 - PFInventory.h](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Purchase Inventory Items](https://docs.xbox.com/api-reference/inventory/purchase-inventory-items.md)
- [PFInventoryPurchaseInventoryItemsOperation](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorypurchaseinventoryitemsoperation.md)
- [PFInventoryPurchaseInventoryItemsResponse](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorypurchaseinventoryitemsresponse.md)
