Last updated 5 months ago
Gets the information about a single product.
The following arguments are supported by this API:
GET /products/{id}
GET
/products/{id}
Headers
Param
Response
{ "statusCode": 200, "message": "string", "data": { "productId": 0, "title": "string", "image": "string", "slug": "string", "platform": "string", "genres": [ "string" ], "regions": [ "string" ], "productTypes": [ "string" ], "languages": [ "string" ], "releaseDate": "string", "createdDate": "string", "minPrice": { "price": 0, "belongsToYou": true, "offerId": 0 }, "maxPrice": 0 } }
{ "message": "Bad Request. Wrong/Invalid params format.", "statusCode": 400 }
{ "message": "UnAuthorized request. Invalid/Expired token", "statusCode": 401 }
{ "message": "Forbidden Request. Action not allowed or Rate Limit exhausted.", "statusCode": 403 }
{ "message": "Internal Server Error", "statusCode": 500 }
Content-Type
application/json
Authorization
Bearer <token>
id
path
Number
Yes
The ID of the product
const response = await fetch('https://services.driffle.com/api/seller/legacy/products/{id}', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "statusCode": 0, "message": "text", "data": { "productId": 0, "title": "text", "image": "text", "slug": "text", "platform": "text", "genres": [ "text" ], "regions": [ "text" ], "productTypes": [ "text" ], "languages": [ "text" ], "releaseDate": "text", "createdDate": "text", "minPrice": { "price": 0, "belongsToYou": false, "offerId": 0 }, "maxPrice": 0 } }