example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #489

Torrens valetudo officiis excepturi tot spero umquam.

productId
Incredible Rubber Pants USD339.95
userId
Kamryn Rogahn @kamryn_rogahn40
rating
3
title
Torrens valetudo officiis excepturi tot spero umquam.
body
Pax alioqui valens contigo carus. Abundans denuncio patrocinor amo incidunt.
isVerified
false
helpfulCount
194
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 489,
  "productId": 105,
  "userId": 170,
  "rating": 3,
  "title": "Torrens valetudo officiis excepturi tot spero umquam.",
  "body": "Pax alioqui valens contigo carus. Abundans denuncio patrocinor amo incidunt.",
  "isVerified": false,
  "helpfulCount": 194,
  "createdAt": "2024-06-28T21:19:01.886Z",
  "updatedAt": "2026-04-17T06:03:06.831Z"
}