Api documentation

Api documentation

Submit dealer review

Ratings and Reviews
 
 
v2 v1
 
 

Sample Request #1

Submit Sales Review with dealer id 838870

URL

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

Request Body

  1. {
  2. "dealerId": 838870,
  3. "stateCode": "AK",
  4. "publishingSource": "EDMUNDS_REST_API",
  5. "title": "test",
  6. "text": "test",
  7. "authorName": "John",
  8. "email": "John@edmunds.com",
  9. "overallRating": "5",
  10. "reviewType": "sales",
  11. "dealerRecommended": true,
  12. "carBought": true,
  13. "ipAddress": "111.11.11.11"
  14. }

Response

  1. {
  2. "id": "111111111",
  3. "type": "DRR_REVIEW"
  4. }

Sample Request #2

Submit Service Review with dealer id 838870

URL

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

Request Body

  1. {
  2. "dealerId": 838870,
  3. "stateCode": "AK",
  4. "publishingSource": "EDMUNDS_REST_API",
  5. "authorOrganization": "Edmunds.com",
  6. "emailReviewActivation": true,
  7. "title": "test",
  8. "text": "test",
  9. "authorName": "Uladzislau",
  10. "email": "someemail@edmunds.com",
  11. "overallRating": "5",
  12. "reviewType": "service",
  13. "dealerRecommended": true,
  14. "workQualitySatisfied": "YES",
  15. "workCompleteOnTime": "YES",
  16. "priceOfServiceFair": "YES",
  17. "workQuoteProvided": "YES",
  18. "allCommitmentsMade": "YES",
  19. "ipAddress": "111.11.11.11"
  20. }

Response

  1. {
  2. "id": "111111111",
  3. "type": "DRR_REVIEW"
  4. }