other
- userId
-
Joseph Steuber @joseph_steuber
- label
- other
- recipient
- Ms. Jacqueline Hagenes
- street1
- 60363 South View
- street2
- —
- city
- South Cayla
- region
- Kansas
- postalCode
- 36817
- countryAlpha2
- GB
- isDefault
- false
- createdAt
Overview
addresses / #306
other
#306
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/306" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/306" ); 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/306"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/306"
)
addresse = res.json() Response
{
"id": 306,
"userId": 221,
"label": "other",
"recipient": "Ms. Jacqueline Hagenes",
"street1": "60363 South View",
"street2": null,
"city": "South Cayla",
"region": "Kansas",
"postalCode": "36817",
"countryAlpha2": "GB",
"isDefault": false,
"createdAt": "2025-04-29T07:24:22.943Z"
}