example-data.com

addresses / #235

userId
Aylin Sanford @aylin.sanford
label
home
recipient
Troy Hudson PhD
street1
3696 Manor Close
street2
city
Bobbyburgh
region
Alaska
postalCode
66576
countryAlpha2
ES
isDefault
true
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/addresses/235"
)
addresse = res.json()
{
  "id": 235,
  "userId": 173,
  "label": "home",
  "recipient": "Troy Hudson PhD",
  "street1": "3696 Manor Close",
  "street2": null,
  "city": "Bobbyburgh",
  "region": "Alaska",
  "postalCode": "66576",
  "countryAlpha2": "ES",
  "isDefault": true,
  "createdAt": "2025-05-04T01:19:03.227Z"
}
Draftbit