[/td][/tr] [tr][td][b]itemcount[/b][/td][td]uint32[/td][td]✔[/td][td]Number of items in cart.[/td][/tr] [tr][td][b]language[/b][/td][td]string[/td][td]✔[/td][td]ISO 639-1 language code of the item descriptions. Only works with the 28 fully supported Steam languages. …
[/td][/tr] [tr][td][b]bundlecount[/b][/td][td]uint32[/td][td][/td][td]Number of bundles in cart.[/td][/tr] [tr][td][b]bundleid[0][/b][/td][td]uint32[/td][td][/td][td]3rd party ID of the bundle. This shares the same ID space as 3rd party items.…
These are structured web pages that you can redirect the user to. [section=ItemCart]Item Cart[/section] ItemCart can be used to send a cart containing one or more items to be purchased via Steam. You'll need to build and maintain the cart within your own game or UI, then send the contents of that cart to Steam for purchase and activation of those items. …
[/list] [subsection]Notes[/subsection] This simplified page can only be used to sell instances of a single ItemDef (including a sellable bundle). For a full-featured shopping cart, see ItemCart. See the Inventory Schema documentation for details on specifying items for sale, including pricing and bundles.…
Finally in conjunction with the Inventory Service you can sell an individual item or a cart of items, [doclink=features/inventory/webfunctions#BuyItem]in-game[/doclink] or through a web-based [doclink=features/inventory/itemstore]storefront[/doclink]. …
[/list] [/olist] [section=APIs]APIs[/section] Documentation for the Steam Inventory API's is available on the API Reference here: [api]ISteamInventory[/api] [section]Web APIs[/section] Documentation for the Steam Inventory Web API is available on the Web API Reference here: [webapi]IInventoryService[/webapi] [section]Web Functions[/section] These are structured web pages that you can redirect the user to. [list] [*] [doclink=features/inventory/webfunctions#ItemCart]ItemCart[/doclink] - Can be used to send a cart full of items to be purchased through Steam. [*] [doclink=features/inventory/webfunctions#BuyItem]BuyItem[/doclink] - Can be used to purchase a single item through Steam. …
Default set of icons: [no_glow] [table] [tr] [th]Icon[/th][th]Name[/th][th]Description[/th] [/tr] [tr] [td][docimg=marker_2.png][/docimg][/td][td]steam_marker[/td][td]Marker[/td] [/tr] [tr] [td][docimg=achievment_1.png][/docimg][/td][td]steam_achievement[/td][td]Achievement[/td] [/tr] [tr] [td][docimg=attack_1.png][/docimg][/td][td]steam_attack[/td][td]Attack[/td] [/tr] [tr] [td][docimg=bolt_1.png][/docimg][/td][td]steam_bolt[/td][td]Bolt[/td] [/tr] [tr] [td][docimg=bookmark_1.png][/docimg][/td][td]steam_bookmark[/td][td]Bookmark[/td] [/tr] [tr] [td][docimg=bug.png][/docimg][/td][td]steam_bug[/td][td]Bug[/td] [/tr] [tr] [td][docimg=cart.png][/docimg][/td][td]steam_cart[/td][td]Cart[/td] [/tr] [tr] [td][docimg=caution.png][/docimg][/td][td]steam_caution[/td][td]Caution[/td] [/tr] [tr] [td][docimg=chat.png][/docimg][/td][td]steam_chat[/td][td]Chat[/td] [/tr] [tr] [td][docimg=checkmark.png][/docimg][/td][td]steam_checkmark[/td][td]Checkmark[/td] [/tr] [tr] [td][docimg=chest.png][/docimg][/td][td]steam_chest[/td][td]Chest[/td] [/tr] [tr] [td][docimg=circle.png][/docimg][/td][td]steam_circle[/td][td]Circle[/td] [/tr] [tr] [td][docimg=combat.png][/docimg][/td][td]steam_combat[/td][td]Combat[/td] [/tr] [tr] [td][docimg=completed.png][/docimg][/td][td]steam_completed[/td][td]Completed[/td] [/tr] [tr] [td][docimg=crown.png][/docimg][/td][td]steam_crown[/td][td]Crown[/td] [/tr] [tr] [td][docimg=death.png][/docimg][/td][td]steam_death[/td][td]Death[/td] [/tr] [tr] [td][docimg=defend.png][/docimg][/td][td]steam_defend[/td][td]Defend[/td] [/tr] [tr] [td][docimg=diamond.png][/docimg][/td][td]steam_diamond[/td][td]Diamond[/td] [/tr] [tr] [td][docimg=edit.png][/docimg][/td][td]steam_edit[/td][td]Edit[/td] [/tr] [tr] [td][docimg=effect.png][/docimg][/td][td]steam_effect[/td][td]Effect[/td] [/tr] [tr] [td][docimg=explosion.png][/docimg][/td][td]steam_explosion[/td][td]Explosion[/td] [/tr] [tr] [td][docimg=fix.png][/docimg][/td][td]steam_fix[/td][td]Fix[/td] [/tr] [tr] [td][docimg=flag.png][/docimg][/td][td]steam_flag[/td][td]Flag[/td] [/tr] [tr] [td][docimg=gem.png][/docimg][/td][td]steam_gem[/td][td]Gem[/td] [/tr] [tr] [td][docimg=group.png][/docimg][/td][td]steam_group[/td][td]Group[/td] [/tr] [tr] [td][docimg=heart.png][/docimg][/td][td]steam_heart[/td][td]Heart[/td] [/tr] [tr] [td][docimg=info.png][/docimg][/td][td]steam_info[/td][td]Info[/td] [/tr] [tr] [td][docimg=invalid.png][/docimg][/td][td]steam_invalid[/td][td]Invalid[/td] [/tr] [tr] [td][docimg=minus.png][/docimg][/td][td]steam_minus[/td][td]Minus[/td] [/tr] [tr] [td][docimg=pair.png][/docimg][/td][td]steam_pair[/td][td]Pair[/td] [/tr] [tr] [td][docimg=person.png][/docimg][/td][td]steam_person[/td][td]Person[/td] [/tr] [tr] [td][docimg=plus.png][/docimg][/td][td]steam_plus[/td][td]Plus[/td] [/tr] [tr] [td][docimg=purchase.png][/docimg][/td][td]steam_purchase[/td][td]Purchase[/td] [/tr] [tr] [td][docimg=question.png][/docimg][/td][td]steam_question[/td][td]Question[/td] [/tr] [tr] [td][docimg=ribbon.png][/docimg][/td][td]steam_ribbon[/td][td]Ribbon[/td] [/tr] [tr] [td][docimg=screenshot.png][/docimg][/td][td]steam_screenshot[/td][td]Screenshot[/td] [/tr] [tr] [td][docimg=scroll.png][/docimg][/td][td]steam_scroll[/td][td]Scroll[/td] [/tr] [tr] [td][docimg=square.png][/docimg][/td][td]steam_square[/td][td]Square[/td] [/tr] [tr] [td][docimg=star.png][/docimg][/td][td]steam_star[/td][td]Star[/td] [/tr] [tr] [td][docimg=starburst.png][/docimg][/td][td]steam_starburst[/td][td]Starburst[/td] [/tr] [tr] [td][docimg=timer.png][/docimg][/td][td]steam_timer[/td][td]Timer[/td] [/tr] [tr] [td][docimg=transfer.png][/docimg][/td][td]steam_transfer[/td][td]Transfer[/td] [/tr] [tr] [td][docimg=triangle.png][/docimg][/td][td]steam_triangle[/td][td]Triangle[/td] [/tr] [tr] [td][docimg=trophy.png][/docimg][/td][td]steam_trophy[/td][td]Trophy[/td] [/tr] [tr] [td][docimg=view.png][/docimg][/td][td]steam_view[/td][td]View[/td] [/tr] [tr] [td][docimg=x.png][/docimg][/td][td]steam_x[/td][td]X[/td] [/tr] [/table] [/no_glow] [section=example]Example Code[/section] Below is a code sample for integrating Steam Timeline with Left 4 Dead. …
In this case, clicking the "Buy on Steam" button from the widget will take customers to the Steam website with the item in their cart where they can easily complete the purchase process and pay with whatever method they prefer, including funds from their Steam Wallet. …
Through these pages, customers can browse, filter, and search through the available items for the game, add them to a cart within your store, and purchase using the Steam Wallet. [section=Setting]Setting Up[/section] You'll need to start by having a functional [doclink=features/inventory]Steam Inventory Service[/doclink] implementation. …
. [*] [code-inline]PartialRefund[/code-inline] - One or more items in the cart have been refunded. Check itemstatus field of each item for details. [*] [code-inline]Chargedback[/code-inline] - Order is fraudulent or disputed and product should be revoked by the game. [*] [code-inline]RefundedSuspectedFraud[/code-inline] - Order was refunded by Valve because it was suspected to be fraud. …
[/td][/tr] [tr=k_EResultRemoteDisconnect][td][b]k_EResultRemoteDisconnect[/b][/td][td]38[/td][td]The remote server has disconnected.[/td][/tr] [tr=k_EResultShoppingCartNotFound][td][b]k_EResultShoppingCartNotFound[/b][/td][td]39[/td][td]Failed to find the shopping cart requested.[/td][/tr] [tr=k_EResultBlocked][td][b]k_EResultBlocked[/b][/td][td]40[/td][td]A user blocked the action.…
[/td][/tr] [/table] Cancels a file write stream that was started by [api]ISteamRemoteStorage::FileWriteStreamOpen[/api]. This trashes all of the data written and closes the write stream, but if there was an existing file with this name, it remains untouched. [b]Returns:[/b] bool [subsection=FileWriteStreamClose]FileWriteStreamClose[/subsection] [code=cpp]bool FileWriteStreamClose( UGCFileWriteStreamHandle_t writeHandle );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]writeHandle[/b][/td][td][apitype]ISteamRemoteStorage::UGCFileWriteStreamHandle_t[/apitype][/td][td]The file write stream to close.…
[/td][/tr] [/table] Starts the purchase process for the user, given a "shopping cart" of item definitions that the user would like to buy. The user will be prompted in the Steam Overlay to complete the purchase in their local currency, funding their Steam Wallet if necessary, etc. …