example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #370

Verus suus minima administratio catena theca.

productId
Tasty Marble Bacon USD48.59
userId
Van Crona @van_crona
rating
1.5
title
Verus suus minima administratio catena theca.
body
Patior tandem desipio. Incidunt sperno dignissimos teneo defleo.
isVerified
false
helpfulCount
126
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 370,
  "productId": 77,
  "userId": 185,
  "rating": 1.5,
  "title": "Verus suus minima administratio catena theca.",
  "body": "Patior tandem desipio. Incidunt sperno dignissimos teneo defleo.",
  "isVerified": false,
  "helpfulCount": 126,
  "createdAt": "2024-07-09T22:56:31.022Z",
  "updatedAt": "2025-05-05T09:10:03.800Z"
}