Get catalog on client side of application
Choose the most suitable method for your project to access Xsolla data:
To get items data, use the Get sellable items API call. In the response, you will receive detailed information about virtual items within your project. For subsequent order creation, you need the item SKU that is passed in the items.sku
parameter.
You can also get items data from the catalog using the API calls from the Common > Catalog or Virtual Items & Currency > Catalog documentation sections.
Note
Use test web applications as an implementation example:
To display items in the in-game store, use the following SDK methods:
SDK reference documentation
Learn more about SDK methods and its parameters.
SDK method name | Description |
---|---|
GetCatalog | Returns a list of virtual items according to pagination settings. The list includes items for which display in the store is enabled in the settings. For each virtual item, complete data is returned. |
GetCatalogSimplified | Returns a full list of virtual items. The list includes items for which display in the store is enabled in the settings. For each virtual item, the SKU, name, description, and data about the groups it belongs to are returned. |
GetItemGroups | Returns a full list of virtual item groups. The list includes groups for which display in the store is enabled in the settings |
GetGroupItems | Returns a list of items for the specified group according to pagination settings. The list includes items for which display in the store is enabled in the settings. In the settings of the group, the display in the store must be enabled. |
GetVirtualCurrencyList | Returns a list of virtual currencies according to pagination settings. |
GetVirtualCurrencyPackagesList | Returns a list of virtual currency packages according to pagination settings. The list includes packages for which display in the store is enabled in the settings. |
GetBundles | Returns a list of bundles according to pagination settings. The list includes bundles for which display in the store is enabled in the settings. |
GetBundle | Returns information about the contents of the specified bundle. In the bundle settings, display in the store must be enabled. |
To display items in the in-game store, use the following SDK methods:
SDK reference documentation
Learn more about SDK methods and its parameters.
SDK method name | Description |
---|---|
getVirtualItems | Returns a list of virtual items according to pagination settings. The list includes items for which display in the store is enabled in the settings. For each virtual item, complete data is returned. |
getVirtualItemsShort | Returns a full list of virtual items. The list includes items for which display in the store is enabled in the settings. For each virtual item, the SKU, name, description, and data about the groups it belongs to are returned. |
getItemsGroups | Returns a full list of virtual item groups. The list includes groups for which display in the store is enabled in the settings |
getItemsBySpecifiedGroup | Returns a list of items for the specified group according to pagination settings. The list includes items for which display in the store is enabled in the settings. In the settings of the group, the display in the store must be enabled. |
getVirtualCurrency | Returns a list of virtual currencies according to pagination settings. |
getVirtualCurrencyPackage | Returns a list of virtual currency packages according to pagination settings. The list includes packages for which display in the store is enabled in the settings. |
getBundleList | Returns a list of bundles according to pagination settings. The list includes bundles for which display in the store is enabled in the settings. |
getBundle | Returns information about the contents of the specified bundle. In the bundle settings, display in the store must be enabled. |
To display items in the in-game store, use the following SDK methods:
SDK reference documentation
Learn more about SDK methods and its parameters.
SDK method name | Description |
---|---|
GetVirtualItems | Returns a list of virtual items according to pagination settings. The list includes items for which display in the store is enabled in the settings. For each virtual item, complete data is returned. |
GetAllItemsList | Returns a full list of virtual items. The list includes items for which display in the store is enabled in the settings. For each virtual item, the SKU, name, description, and data about the groups it belongs to are returned. |
GetItemGroups | Returns a full list of virtual item groups. The list includes groups for which display in the store is enabled in the settings |
GetItemsListBySpecifiedGroup | Returns a list of items for the specified group according to pagination settings. The list includes items for which display in the store is enabled in the settings. In the settings of the group, the display in the store must be enabled. |
GetVirtualCurrencies | Returns a list of virtual currencies according to pagination settings. |
GetVirtualCurrencyPackages | Returns a list of virtual currency packages according to pagination settings. The list includes packages for which display in the store is enabled in the settings. |
GetBundles | Returns a list of bundles according to pagination settings. The list includes bundles for which display in the store is enabled in the settings. |
GetSpecifiedBundle | Returns information about the contents of the specified bundle. In the bundle settings, display in the store must be enabled. |
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.