Skip to main content
GET
/
v1
/
products
/
{product_id}
/
reviews
curl -X GET "https://api.officiscan.com/v1/products/12345/reviews" \
  -H "Authorization: Bearer oc_YOUR_API_KEY"
{
  "product_id": 12345,
  "rating": 4.5,
  "rating_count": 127,
  "total": 127,
  "page": 1,
  "per_page": 50,
  "pages": 3,
  "reviews": [
    {
      "id": 1,
      "stars": 5,
      "title": "Très efficace",
      "comment": "Produit conforme à mes attentes",
      "date": "2024-01-15"
    }
  ]
}
product_id
integer
required
ID du produit
page
integer
default:"1"
Numéro de page
per_page
integer
default:"50"
Résultats par page (max: 100)
curl -X GET "https://api.officiscan.com/v1/products/12345/reviews" \
  -H "Authorization: Bearer oc_YOUR_API_KEY"
{
  "product_id": 12345,
  "rating": 4.5,
  "rating_count": 127,
  "total": 127,
  "page": 1,
  "per_page": 50,
  "pages": 3,
  "reviews": [
    {
      "id": 1,
      "stars": 5,
      "title": "Très efficace",
      "comment": "Produit conforme à mes attentes",
      "date": "2024-01-15"
    }
  ]
}