example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #787

Conduco tutis deinde somnus.

productId
Small Plastic Bacon USD126.54
userId
Enos Hamill @enos_hamill
rating
5
title
Conduco tutis deinde somnus.
body
Derideo cogo calculus adhaero astrum quam adeptio uredo ait. Amplexus desolo beatus bos admoneo arx.
isVerified
true
helpfulCount
20
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 787,
  "productId": 173,
  "userId": 65,
  "rating": 5,
  "title": "Conduco tutis deinde somnus.",
  "body": "Derideo cogo calculus adhaero astrum quam adeptio uredo ait. Amplexus desolo beatus bos admoneo arx.",
  "isVerified": true,
  "helpfulCount": 20,
  "createdAt": "2024-08-19T23:08:29.885Z",
  "updatedAt": "2026-03-17T18:23:58.893Z"
}