You can track your offers competition and adjust prices accordingly. Use the /competitions
endpoint, select pid
(Driffle Product ID) and the system will return you the list of offers and their prices for the given product.
GET
/products/{pid}/competitions
Headers
Param
Name
Type
Description
Required
Response
200 400 401 403 500
Copy {
"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"
}
}
]
}
}
Copy {
"message": "Bad Request. Wrong/Invalid params format.",
"statusCode": 400
}
Copy {
"message": "UnAuthorized request. Invalid/Expired token",
"statusCode": 401
}
Copy {
"message": "Forbidden Request. Action not allowed or Rate Limit exhausted.",
"statusCode": 403
}
Copy {
"message": "Internal Server Error",
"statusCode": 500
}
Last updated 3 months ago