work
- userId
-
Ericka DuBuque @ericka.dubuque
- label
- work
- recipient
- William Armstrong III
- street1
- 91688 S 4th Street
- street2
- —
- city
- Weston
- region
- Maryland
- postalCode
- 31907-3401
- countryAlpha2
- TH
- isDefault
- false
- createdAt
Overview
addresses / #28
work
#28
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/28" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/28" ); const address = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/addresses.d.ts https://example-data.com/types/addresses.d.ts
import type { Address } from "./types/addresses";
const res = await fetch(
"https://example-data.com/api/v1/addresses/28"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/28"
)
addresse = res.json() Response
{
"id": 28,
"userId": 23,
"label": "work",
"recipient": "William Armstrong III",
"street1": "91688 S 4th Street",
"street2": null,
"city": "Weston",
"region": "Maryland",
"postalCode": "31907-3401",
"countryAlpha2": "TH",
"isDefault": false,
"createdAt": "2025-03-29T08:27:07.025Z"
}