Skip to content

OR51 - Get the evaluation of an order

Request

Call Frequency
Maximum usage: On each evaluation page view
Read More
Localization

This resource supports locale parameter (see documentation)

Localized output fields will be highlighted with an icon:

Security
Front-Bearer-Token or OAuth-2
Path
order_idstringrequired
curl -i -X GET \
  'https://your-instance.mirakl.net/api/orders/{order_id}/evaluation' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
assessmentsArray of objectsrequired

List of assessments

commentstring

Evaluation comment

customer_idstringrequired

Identifier of the customer who posted the evaluation

datestring, (date-time)required

Evaluation creation date

firstnamestringrequired

First name of the customer who posted the evaluation

gradeinteger, (int32)required

Evaluation grade

last_updated_datestring, (date-time)required

Evaluation last updated date

lastnamestringrequired

Last name of the customer who posted the evaluation

replyobject

Reply of a shop or operator on an evaluation

visiblebooleanrequired

Whether the evaluation is visible or not

Response
{ "assessments": [ { … }, { … }, { … }, { … } ], "comment": "Great seller, I recommend!", "customer_id": "Customer-001", "date": "2019-04-03T09:46:17Z", "firstname": "Taylor", "grade": 4, "last_updated_date": "2019-04-03T09:46:17Z", "lastname": "Smith", "reply": { "comment": "Owww thks", "date": "2019-06-25T16:00:00Z", "type": "SHOP" }, "visible": true }