example-data.com
Menu
Browse docs and collections

Overview

wishlists / #53

Holiday Gifts

userId
Maymie Boehm @maymie.boehm90
name
Holiday Gifts
isPublic
false
productIds
              [
  81,
  71,
  112,
  63,
  15,
  99,
  97,
  43,
  106,
  147,
  17,
  72
]
            
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/wishlists/53"
);
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/53"
);
const wishlist = (await res.json()) as Wishlist;

Python example

import requests

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

Response

{
  "id": 53,
  "userId": 48,
  "name": "Holiday Gifts",
  "isPublic": false,
  "productIds": [
    81,
    71,
    112,
    63,
    15,
    99,
    97,
    43,
    106,
    147,
    17,
    72
  ],
  "createdAt": "2026-01-11T22:48:08.070Z",
  "updatedAt": "2026-04-08T15:23:40.812Z"
}