# Epic Store

# Managing Offers

Available offers are managed via the Epic Games Dev Portal.

Once you have paid the $100 submission fee to self-publish, you can start creating offers.

# Getting Available Offers

Once you have created some offers in the dev portal, you can pull these offers into your game using GetEIKOffers. This function will return a list of Offers with the following information available for each:

# Blueprint Code

The offers structure is structured like below:

Item ID - The unique Item ID for this offer. Used when purchasing in-game.

Item Name - The name of the offering in the store.

Item Description - The description of the offering in the store.

Expiration Date - If applicable, the date this offer expires.

Long Description - A longer description of the offer in the store.

Numeric Price - The price of the offer in the store.

Price Text - The full price text of the offer in the store.

Release Date - The release date the offer will become available in the store.

Regular Price - The regular, non sale price of the offer in the store.

Regular Price Text - The full price text for the non sale price of the offer in the store.

# Listing Owned Items

To display a list of items owned by the current logged in user, you can call GetEIKOwnedItems. This function will return an array of receipts that the logged in user has. The receipt will display line items of items purchased.

# Purchasing Items

To purchase items in your in-game shop, you can use the call PurchaseItem and pass in the unique Item ID (obtained from GetEIKOffers). This function will return a receipt if successful, and return an error message if not successful.