S_product

Gets the information about a single product.

Supported arguments

The following arguments are supported by S_product query:

FieldTypeDescription
productIdS_Uuid!The ID of the product

Return type

The query returns the S_API_Product type.

Example usage

Query

Here we are asking detailed information about a single product together with auction that belongs to logged in merchant (auction will be returned only if it exists).

"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_product(productId: "c17fd750-6aa8-11eb-bc0f-4e1b39722069") {
    name
    slug
    regions { code }
    drm { slug }
    type { value }
    isSellable
    auctions(belongsToMe: true) {
      totalCount
      edges {
        node {
          belongsToYou
          price { amount currency }
        }
      }
    }
  }
}

Query

Here we are asking detailed information about a single product together with two auctions selling keys for it.

"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_product(productId: "c17fd750-6aa8-11eb-bc0f-4e1b39722069") {
    name
    slug
    regions { code }
    drm { slug }
    type { value }
    isSellable
    auctions(first: 2) {
      totalCount
      edges {
        node {
          belongsToYou
          price { amount currency }
        }
      }
    }
  }
}

Result

Here we see not only the product features, but also we see that there are auctions.totalCount: 17 auctions currently on sale.

{
  "data": {
    "S_product": {
      "name": "Resident Evil Village / Resident Evil 8 Steam Key GLOBAL",
      "slug": "steam-resident-evil-village-resident-evil-8-steam-key-global-10",
      "regions": [
        {
          "code": "global"
        }
      ],
      "drm": {
        "slug": "steam"
      },
      "type": {
        "value": "GAME"
      },
      "isSellable": true,
      "auctions": {
        "totalCount": 17,
        "edges": [
          {
            "node": {
              "belongsToYou": false,
              "price": {
                "amount": 1815,
                "currency": "EUR"
              }
            }
          },
          {
            "node": {
              "belongsToYou": false,
              "price": {
                "amount": 1816,
                "currency": "EUR"
              }
            }
          }
        ]
      }
    }
  }
}
Copyright 2024 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania