example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #100

Dolorum tristis sum excepturi sui varietas.

productId
Refined Plastic Chair USD156.63
userId
Allan Buckridge @allan_buckridge
rating
1
title
Dolorum tristis sum excepturi sui varietas.
body
Antea vulpes itaque cunabula tertius distinctio. Iusto repudiandae adamo libero.
isVerified
true
helpfulCount
66
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/product-reviews/100"
);
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/100"
);
const productReview = (await res.json()) as ProductReview;

Python example

import requests

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

Response

{
  "id": 100,
  "productId": 19,
  "userId": 106,
  "rating": 1,
  "title": "Dolorum tristis sum excepturi sui varietas.",
  "body": "Antea vulpes itaque cunabula tertius distinctio. Iusto repudiandae adamo libero.",
  "isVerified": true,
  "helpfulCount": 66,
  "createdAt": "2024-11-10T00:07:49.791Z",
  "updatedAt": "2025-04-14T00:12:40.490Z"
}