example-data.com

addresses / #145

userId
Elva Roberts @elva.roberts48
label
work
recipient
Erika Fadel
street1
46648 Demond Underpass
street2
city
Scranton
region
Colorado
postalCode
49165
countryAlpha2
SA
isDefault
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/addresses/145"
)
addresse = res.json()
{
  "id": 145,
  "userId": 107,
  "label": "work",
  "recipient": "Erika Fadel",
  "street1": "46648 Demond Underpass",
  "street2": null,
  "city": "Scranton",
  "region": "Colorado",
  "postalCode": "49165",
  "countryAlpha2": "SA",
  "isDefault": false,
  "createdAt": "2025-02-15T20:20:44.345Z"
}
Draftbit