example-data.com

wishlists / #209

userId
Sarah West @sarah.west
name
Gift Ideas
isPublic
false
productIds
[
  140,
  55,
  116,
  94
]
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/wishlists/209" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/wishlists/209"
);
const wishlist = await res.json();
import type { Wishlist } from "https://example-data.com/types/wishlists.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/209"
)
wishlist = res.json()
{
  "id": 209,
  "userId": 217,
  "name": "Gift Ideas",
  "isPublic": false,
  "productIds": [
    140,
    55,
    116,
    94
  ],
  "createdAt": "2024-08-01T10:11:29.978Z",
  "updatedAt": "2024-08-03T14:52:43.801Z"
}
Draftbit