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

# PFInventorySubtractInventoryItemsAsync

> 인벤토리 아이템을 차감합니다.

인벤토리 아이템을 차감합니다.

## 구문

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

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

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

채워진 요청 객체입니다.

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

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

### 반환 값

형식: HRESULT

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

## 설명

이 API는 모든 플랫폼에서 사용할 수 있습니다. 엔터티 유형, 엔터티 식별자 및 컨테이너 세부 정보가 주어지면 지정한 인벤토리 아이템을 차감합니다. 비동기 작업이 완료되면 [PFInventorySubtractInventoryItemsGetResultSize](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorysubtractinventoryitemsgetresultsize.md) 및 [PFInventorySubtractInventoryItemsGetResult](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorysubtractinventoryitemsgetresult.md)를 호출하여 결과를 가져옵니다.

## 요구 사항

**헤더:** PFInventory.h

## 참고 항목

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


## Related topics

- [PFInventorySubtractInventoryItemsGetResult](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/functions/pfinventorysubtractinventoryitemsgetresult.md)
- [Services C API 개요 - PFInventory.h](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [Subtract Inventory Items](https://docs.xbox.com/api-reference/inventory/subtract-inventory-items.md)
- [PFInventorySubtractInventoryItemsOperation](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorysubtractinventoryitemsoperation.md)
- [PFInventorySubtractInventoryItemsResponse](https://docs.xbox.com/ko/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorysubtractinventoryitemsresponse.md)
