How to group and sort items in catalog

You can add items in groups. The group can include identical and different types of items:

  • Virtual items
  • Virtual currency
  • Virtual currency packages
  • Bundles
  • Game keys
Within the group, you can arrange items in a specific order to increase sales and show popular items to users. When requesting items by group, you get the items in the order they are sorted in Publisher Account.

Note
You can only sort items within item groups, sorting the ungrouped catalog is unavailable.

Main features:

  • Add the same item in several groups.
  • Change the order of the groups.
  • Change the order of items.

Set up groups:

  1. Create and edit groups via Publisher Account.
  2. Add items and get information about groups:

Set up via Publisher Account

Create group

To create a group for virtual items:

  1. Open your project in Publisher Account go to the Items catalog > All items section.
  2. Click Add and select Group in the drop-down list.

  1. Specify the following parameters:
    • External ID — unique group code.
    • Group name.
  2. Set the Show group in Store toggle to On.
  3. Click Create group.

Edit group

To edit a group:

  1. Open your project in Publisher Account and go to the Items catalog > All items section.
  2. Click Show groups.
  3. Click next to the required group and in the drop-down list, select Edit.

  1. Make the necessary changes and click Save changes.
Note
If you have hidden the group in the store (set the Show group in Store toggle to Off), such a group:
  • Is not returned in response when calling the Get items groups list API.
  • Is not displayed in the properties of items included in this group when calling client methods for obtaining a list of items.

Add item to group

To add a virtual item to a required group, specify the group:

  • when creating a new item
  • when editing the existing item in Publisher Account:
    • in item’s basic settings

    • In the drop-down list of groups in the list of virtual items
Note
Items without a specific group are automatically added to the Ungrouped group, located at the end of the list of groups. There are the following restrictions for items in this group:

Sort items

To sort items within a group of items:

  1. Open your project in Publisher Account and go to the Items catalog > All items section.
  2. Click Show groups.
  3. Go to the group.
  4. Hover over the virtual item number. The icon will be displayed. Drag the virtual item to the new position.

Sort groups

To sort groups:

  1. Open your project in Publisher Account and go to the Items catalog > All Items section.
  2. Click Show groups.
  3. Hover over the group name. The icon will be displayed. Drag the group to the new position.

Set up via API

Add item to group

To add an item to the existing group via API calls, pass the array containing the external_id parameter of the groups that the item should belong to in the group field:

Example of the request:

Copy
Full screen
Small screen
 1{
 2  "sku": "sword",
 3  "name": {
 4    "en": "Sword"
 5  },
 6  "is_enabled": true,
 7  "is_free": false,
 8  "order": 1,
 9  "description": {
10    "en": "A sword is a bladed melee weapon intended for cutting or thrusting that is longer than a knife or dagger, consisting of a long blade attached to a hilt."
11  },
12  "prices": [
13    {
14      "amount": 100,
15      "currency": "USD",
16      "is_enabled": true,
17      "is_default": true
18    }
19  ],
20  "vc_prices": [],
21  "is_show_in_store": true,
22  "groups": [
23    "chests",
24    "bonus"
25  ]
26}

Get list of groups

To get the list of all groups, use the Get items group list API call. To get the list of items of the specified group, pass the external_id parameter to the Get items list by specified group API call.

Filter items

To filter items of the required group:

  1. Get the list of items via the following API calls:
  2. Using the filtering, find the items with the external_id parameter of the required group specified in the groups parameter.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: February 13, 2026

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.