P_wholesaleAuctionProducts

Returns a paginated list of products that have at least one active wholesale auction with available stock. Supports filtering by product name, EAN, and product type.

This feature is available only to accounts with the Wholesale Buyer role. Contact Eneba support if you receive a 403 or an access-denied error.

Supported arguments

The following arguments are supported by P_wholesaleAuctionProducts query:

FieldTypeDescription
firstIntReturns up to the first n elements from the list
afterStringReturns the elements that come after the specified cursor
searchStringSearch phrase matched against product name. Accepts at most 10 whitespace-separated terms; longer queries are rejected.
eanStringExact EAN filter
productTypeP_ProductTypeFilter by product type

Return type

The query returns the P_API_ProductConnection type.

Pagination

This query uses cursor-based pagination following the Relay Connection spec.

  • Use first to set the page size. Minimum is 1, default is 20, maximum is 100.
  • On the first request, omit after (or pass null).
  • The response includes a pageInfo object:
    • hasNextPagetrue if more results exist beyond the current page.
    • endCursor — an opaque string representing the position of the last item on the current page.
  • To fetch the next page, pass the previous response's pageInfo.endCursor as the after argument.
  • Repeat until pageInfo.hasNextPage is false.
  • totalCount reflects the total number of matching products across all pages.

Behavior

  • A product is only returned if it has at least one wholesale auction that is enabled, not expired, and has stock available.
  • Results are sorted by product creation date, newest first.
  • search performs a full-text search on the English product name. Each whitespace-separated word must appear in the name (AND logic). Accepts at most 10 terms — queries exceeding this limit are rejected with an error. Omit or pass null to return all eligible products.
  • ean performs an exact match on the product's EAN-13 barcode. Omit or pass null to return products regardless of EAN.
  • productType filters to a single product category. See Product type options for valid values. Omit or pass null to return all product types.

Product type options

The productType argument accepts the following P_ProductType values:

ValueDescription
GAMEFull game titles.
GIFTCARDGift cards.
GAME_POINTSIn-game currency or points.
DLCDownloadable content / expansions.
SOFTWARENon-game software.
SUBSCRIPTIONSubscription services.
TOP_UPGeneric top-up codes.
DIRECT_TOP_UPDirect top-up codes (account-linked).
MOBILE_RECHARGEMobile phone recharge codes.
EMONEY_PREPAIDE-money / prepaid payment codes.

Response fields

P_API_Product (each node)

FieldTypeDescription
idP_Uuid!Stable UUID for the product.
nameString!Full product display name.
slugString!URL-friendly product slug.
productTypeP_ProductTypeProduct category (e.g. GAME, GIFTCARD). See Product type options for valid values.
releasedAtP_DateTimeProduct release date (ISO 8601), or null if unknown.
eanStringEAN-13 barcode, or null if not set.
osP_OSEnumSetSet of supported operating systems, or null if not applicable.
regions[String!]List of geographic regions where the product is valid (e.g. GLOBAL, EUROPE).
regionWhitelist[String!]Regions explicitly allowed for activation. Empty means no restriction.
regionBlacklist[String!]Regions explicitly blocked from activation.
countries[String]Countries associated with this product.
countriesWhitelist[String]If non-empty, the product may only be purchased from these countries (IP-based).
countriesHardBlacklist[String!]!Countries from which this product is inaccessible (IP-based).
noActivationCountries[String!]Countries where the key cannot be activated.

P_PageInfo

FieldTypeDescription
hasNextPageBoolean!Whether more pages exist when paginating forward.
hasPreviousPageBoolean!Whether more pages exist when paginating backward.
startCursorStringCursor for the first item on the current page.
endCursorStringCursor to pass as after to fetch the next page.

Example usage

Query

query getWholesaleAuctionProducts(
  $first: Int
  $after: String
  $search: String
  $ean: String
  $productType: P_ProductType
) {
  P_wholesaleAuctionProducts(
    first: $first
    after: $after
    search: $search
    ean: $ean
    productType: $productType
  ) {
    totalCount
    edges {
      cursor
      node {
        id
        name
        slug
        productType
        releasedAt
        ean
        os
        regions
        regionWhitelist
        regionBlacklist
        countries
        countriesWhitelist
        countriesHardBlacklist
        noActivationCountries
      }
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

First page

Variables

{ "first": 20 }

Response

{
  "data": {
    "P_wholesaleAuctionProducts": {
      "totalCount": 85,
      "edges": [
        {
          "cursor": "YXJyYXljb25uZWN0aW9uLjA=",
          "node": {
            "id": "e5f6a7b8-5678-11ee-be56-0242ac120002",
            "name": "Call of Duty: Modern Warfare III Steam Key GLOBAL",
            "slug": "call-of-duty-modern-warfare-iii-steam-key-global",
            "productType": "GAME",
            "releasedAt": "2023-11-10T00:00:00+00:00",
            "ean": null,
            "os": null,
            "regions": ["GLOBAL"],
            "regionWhitelist": [],
            "regionBlacklist": [],
            "countries": null,
            "countriesWhitelist": null,
            "countriesHardBlacklist": [],
            "noActivationCountries": null
          }
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": false,
        "startCursor": "YXJyYXljb25uZWN0aW9uLjA=",
        "endCursor": "YXJyYXljb25uZWN0aW9uLjA="
      }
    }
  }
}

Search by product name

Variables

{ "first": 20, "search": "Minecraft" }

Next page

Pass the endCursor from the previous response as after.

Variables

{ "first": 20, "after": "YXJyYXljb25uZWN0aW9uLjA=" }

Filter by EAN

Variables

{ "first": 20, "ean": "5030931123284" }

Filter by product type

Variables

{ "first": 20, "productType": "GAME" }

Combine filters

search, ean, and productType can be combined. All specified filters are applied together (AND logic).

Variables

{ "first": 20, "search": "Minecraft", "productType": "GAME" }
Copyright 2026 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania