Api documentation

Api documentation

Submit dealer review

Ratings and Reviews
 
 
v2 v1
 
 

Sample Request #1

Submit Sales Review with dealer id 838870

URL

POST https://api.edmunds.com/api/dealerreviews/v2?api_key={api key}

Request Body

{
 "dealerId": 838870,
 "stateCode": "AK",
 "publishingSource": "EDMUNDS_REST_API",
 "title": "test",
 "text": "test",
 "authorName": "John",
 "email": "John@edmunds.com",
 "overallRating": "5",
 "reviewType": "sales",
 "dealerRecommended": true,
 "carBought": true,
 "ipAddress": "111.11.11.11"
}

Response

{
 "id": "111111111",
 "type": "DRR_REVIEW"
}

Sample Request #2

Submit Service Review with dealer id 838870

URL

POST https://api.edmunds.com/api/dealerreviews/v2?api_key={api key}

Request Body

{
 "dealerId": 838870,
 "stateCode": "AK",
 "publishingSource": "EDMUNDS_REST_API",
 "authorOrganization": "Edmunds.com",
 "emailReviewActivation": true,
 "title": "test",
 "text": "test",
 "authorName": "Uladzislau",
 "email": "someemail@edmunds.com",
 "overallRating": "5",
 "reviewType": "service",
 "dealerRecommended": true,
 "workQualitySatisfied": "YES",
 "workCompleteOnTime": "YES",
 "priceOfServiceFair": "YES",
 "workQuoteProvided": "YES",
 "allCommitmentsMade": "YES",
 "ipAddress": "111.11.11.11"
}

Response

{
 "id": "111111111",
 "type": "DRR_REVIEW"
}