example-data.com

addresses / #98

userId
Candace Mueller @candace.mueller
label
home
recipient
Sue Kshlerin
street1
82509 Aurelie Tunnel
street2
city
Port Nichole
region
Kansas
postalCode
08792-0653
countryAlpha2
PE
isDefault
true
createdAt

Component variants

Related

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

const res = await fetch(
  "https://example-data.com/api/v1/addresses/98"
);
const addresse = (await res.json()) as Addresse;
import requests

res = requests.get(
    "https://example-data.com/api/v1/addresses/98"
)
addresse = res.json()
{
  "id": 98,
  "userId": 75,
  "label": "home",
  "recipient": "Sue Kshlerin",
  "street1": "82509 Aurelie Tunnel",
  "street2": null,
  "city": "Port Nichole",
  "region": "Kansas",
  "postalCode": "08792-0653",
  "countryAlpha2": "PE",
  "isDefault": true,
  "createdAt": "2024-12-31T20:24:22.582Z"
}
Draftbit