other
- userId
-
Ken Towne @ken.towne
- label
- other
- recipient
- Cindy Flatley-Greenfelder
- street1
- 492 North Road
- street2
- Apt. 751
- city
- Tuckahoe
- region
- Massachusetts
- postalCode
- 16051
- countryAlpha2
- IT
- isDefault
- true
- createdAt
Overview
addresses / #343
other
#343
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/343" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/343" ); 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/343"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/343"
)
addresse = res.json() Response
{
"id": 343,
"userId": 248,
"label": "other",
"recipient": "Cindy Flatley-Greenfelder",
"street1": "492 North Road",
"street2": "Apt. 751",
"city": "Tuckahoe",
"region": "Massachusetts",
"postalCode": "16051",
"countryAlpha2": "IT",
"isDefault": true,
"createdAt": "2025-03-07T10:09:38.511Z"
}