example-data.com
Menu
Browse docs and collections

Overview

wishlists / #113

Back to School

userId
Earnestine Dickinson @earnestine_dickinson
name
Back to School
isPublic
true
productIds
              [
  13,
  172,
  188,
  193,
  143,
  69,
  139,
  70,
  197,
  31,
  33,
  15,
  194
]
            
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/wishlists/113" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/wishlists/113"
);
const wishlist = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/wishlists.d.ts https://example-data.com/types/wishlists.d.ts
import type { Wishlist } from "./types/wishlists";

const res = await fetch(
  "https://example-data.com/api/v1/wishlists/113"
);
const wishlist = (await res.json()) as Wishlist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/113"
)
wishlist = res.json()

Response

{
  "id": 113,
  "userId": 110,
  "name": "Back to School",
  "isPublic": true,
  "productIds": [
    13,
    172,
    188,
    193,
    143,
    69,
    139,
    70,
    197,
    31,
    33,
    15,
    194
  ],
  "createdAt": "2026-01-15T10:54:05.003Z",
  "updatedAt": "2026-03-13T14:37:40.248Z"
}