v1

latestOpenAPI 3.0.12026-08-0620949.4 KB
Reviews

Creates or updates a review

Creates a new review or updates an existing review based on the reviews' id. The profile with id profile_id is linked to this order. When the profile does not exist, a stub profile is created. The product with id product_id is linked to this order. When the product does not exist, a stub product is created.

post/api/v1/languages/{language_id}/reviews

Path parameters

language_idstring required

Request body

Example request

{
  "review": {
    "name": "My Review",
    "score": 9,
    "visible": true
  }
}

Response

Review successfully saved

messagestring

Example response

{
  "review": {
    "name": "My Review",
    "score": 9,
    "visible": true
  },
  "message": "Review successfully saved"
}