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

# PFCatalogCreateDraftItemAsync

> Creates a new item in the working catalog using provided metadata.

Creates a new item in the working catalog using provided metadata.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFCatalogCreateDraftItemRequest\*](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogcreatedraftitemrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. The item will not be published to the public catalog until the PublishItem API is called for the item. When the asynchronous task is complete, call [PFCatalogCreateDraftItemGetResultSize](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogcreatedraftitemgetresultsize) and [PFCatalogCreateDraftItemGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogcreatedraftitemgetresult) to get the result.

## Requirements

**Header:** PFCatalog.h

## See also

[PFCatalog members](/services/playfab/api-references/c/pfcatalog/pfcatalog_members)


## Related topics

- [PFCatalogCreateDraftItemGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogcreatedraftitemgetresult.md)
- [Services C API overview - PFCatalog.h](/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogCreateDraftItemGetResultSize](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogcreatedraftitemgetresultsize.md)
- [PFCatalogCreateDraftItemRequest](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogcreatedraftitemrequest.md)
- [PFCatalogCreateDraftItemResponse](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogcreatedraftitemresponse.md)
