getProductById
Last Updated 11th May, 2025
The getProductById
query fetches a single product using its unique productid
. If the product does not exist, it throws an error.
๐ Endpoint
URL: https://api.vscgames.com/graphql
Method: POST
Content-Type: application/json
๐ Query Structure
๐ฅ Parameters
Name
Type
Required
Description
productid
String
โ Yes
The unique ID of the product
โ
Successful Response
๐ซ Error Response
If the product ID is not found in the database:
๐งช Code Examples
Python
JavaScript
Last updated