example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #848

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/product-reviews/848" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/product-reviews/848"
);
const productReview = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/product-reviews.d.ts https://example-data.com/types/product-reviews.d.ts
import type { ProductReview } from "./types/product-reviews";

const res = await fetch(
  "https://example-data.com/api/v1/product-reviews/848"
);
const productReview = (await res.json()) as ProductReview;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/product-reviews/848"
)
product_review = res.json()

Response

{
  "id": 848,
  "productId": 184,
  "userId": 191,
  "rating": 5,
  "title": "Placeat congregatio apostolus.",
  "body": "Deficio aestus cribro averto amplus ut succedo depromo.",
  "isVerified": false,
  "helpfulCount": 74,
  "createdAt": "2026-04-12T19:50:54.795Z",
  "updatedAt": "2026-05-07T01:49:11.441Z"
}