Last updated 8 months ago
Gets the information about products' available Offers.
The following arguments are supported by competitions API:
GET /products/{pid}/competitions
GET
/products/{pid}/competitions
Headers
Response
{ "message": "Default Response", "statusCode": 200, "pid": 123, "competitions": { "totalCount": 10, "offers": [ { "merchantName": "Merchant A", "isInStock": true, "canBePurchased": true, "belongsToYou": false, "price": { "amount": 29.99, "currency": "USD" } } ] } }
{ "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>
pid
path param
Number
Yes
Driffle Product ID
name
string
Name of the user
age
number
Age of the user