S_products

Search through a list of products available on Eneba.

Limits will be hit if you try to iterate through the entire Eneba catalogue. Please use the search parameter to filter the results

Supported arguments

The following arguments are supported by S_products query:

FieldTypeDescription
afterStringReturns the elements that come after the specified cursor
firstIntReturns up to the first n elements from the list
onlyUnmappedBooleanReturns only unmapped products
createdSinceS_DateTimeReturns products created since given date
releasedSinceS_DateTimeReturns products released or to be released since given date
searchStringSearch phrase for product name
sortS_API_ProductsSortProducts sorting option
slugs[String!]Product slugs to search for
ids[S_Uuid!]Product ids to search for

Return type

The query returns the S_API_ProductConnection type.

Example usage

Query

In the following query we are querying for one product (first: 1), that has "elden ring" text in its name (search), that are releasedSince a particular date, we do not have created an auction for them (onlyUnmapped: true), and we are also ordering the results by creation date (sort).

"auctions" field in S_API_Product type is deprecated and will be removed in the future. Use dedicated S_competition query to monitor competition prices

query {
  S_products(
    first: 1
    releasedSince: "2022-01-01T00:00:00"
    onlyUnmapped: false
    sort: CREATED_AT_DESC
    search: "elden ring"
    ) {
    edges {
      node {
        id
        name
        languages
        drm { slug }
        regions { code }
        releasedAt
        createdAt
        slug
        isSellable
        type { value }
        auctions(first: 1) {
          edges {
            node {
              belongsToYou
              isInStock
              merchantName
              price { amount currency }
            }
          }
        }
      }
    }
  }
}

Result

Here we have got the response, it includes a single product. We also see that there is at least one other merchant is selling this product, and we can see its price (auctions.edges.node.price). The isSellable: true field indicates that we are able to create an auction for this product.

{
  "data": {
    "S_products": {
      "edges": [
        {
          "node": {
            "id": "07e92bf8-3814-11ed-873b-2ab02f229afd",
            "name": "Elden Ring Deluxe Edition XBOX LIVE Key TURKEY",
            "languages": [
              "English"
            ],
            "drm": {
              "slug": "xbox"
            },
            "regions": [
              {
                "code": "turkey"
              }
            ],
            "releasedAt": "2022-02-25T00:00:00+00:00",
            "createdAt": "2022-09-19T12:10:20+00:00",
            "slug": "xbox-elden-ring-deluxe-edition-xbox-live-key-turkey",
            "isSellable": true,
            "type": {
              "value": "GAME"
            },
            "auctions": {
              "edges": [
                {
                  "node": {
                    "belongsToYou": false,
                    "isInStock": true,
                    "merchantName": "Other merchant",
                    "price": {
                      "amount": 5799,
                      "currency": "EUR"
                    }
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }
}
Copyright 2024 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania