example-data.com

wishlists / #83

userId
Colby Kovacek @colby_kovacek40
name
Gift Ideas
isPublic
false
productIds
[
  91,
  177,
  90,
  9,
  117,
  41,
  27
]
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/wishlists/83" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/wishlists/83"
);
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/83"
);
const wishlist = (await res.json()) as Wishlist;
import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/83"
)
wishlist = res.json()
{
  "id": 83,
  "userId": 85,
  "name": "Gift Ideas",
  "isPublic": false,
  "productIds": [
    91,
    177,
    90,
    9,
    117,
    41,
    27
  ],
  "createdAt": "2024-10-23T01:49:42.049Z",
  "updatedAt": "2024-11-28T11:30:28.640Z"
}
Draftbit