example-data.com
Menu
Browse docs and collections

Overview

product-reviews / #501

Alias verto eos.

productId
Rustic Ceramic Bacon USD224.39
userId
Maria Senger @maria.senger
rating
3.5
title
Alias verto eos.
body
Cimentarius confero patrocinor demum vesco creptio defluo correptius cotidie.
isVerified
false
helpfulCount
67
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 501,
  "productId": 108,
  "userId": 120,
  "rating": 3.5,
  "title": "Alias verto eos.",
  "body": "Cimentarius confero patrocinor demum vesco creptio defluo correptius cotidie.",
  "isVerified": false,
  "helpfulCount": 67,
  "createdAt": "2024-09-15T09:45:25.275Z",
  "updatedAt": "2026-03-05T14:56:14.449Z"
}