example-data.com

wishlists / #155

userId
Marlin Goldner @marlin_goldner6
name
Favourites
isPublic
true
productIds
[
  99,
  194,
  155,
  44,
  160,
  31
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/155"
)
wishlist = res.json()
{
  "id": 155,
  "userId": 160,
  "name": "Favourites",
  "isPublic": true,
  "productIds": [
    99,
    194,
    155,
    44,
    160,
    31
  ],
  "createdAt": "2024-06-28T00:50:01.875Z",
  "updatedAt": "2024-07-26T06:18:06.467Z"
}
Draftbit