work
- userId
-
Matt Kuhic @matt_kuhic57
- label
- work
- recipient
- Lorena Schoen-Steuber
- street1
- 959 Gerda Station
- street2
- Suite 611
- city
- Amanimouth
- region
- Ohio
- postalCode
- 77732-0360
- countryAlpha2
- PL
- isDefault
- true
- createdAt
Overview
addresses / #314
work
#314
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/314" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/314" ); 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/314"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/314"
)
addresse = res.json() Response
{
"id": 314,
"userId": 226,
"label": "work",
"recipient": "Lorena Schoen-Steuber",
"street1": "959 Gerda Station",
"street2": "Suite 611",
"city": "Amanimouth",
"region": "Ohio",
"postalCode": "77732-0360",
"countryAlpha2": "PL",
"isDefault": true,
"createdAt": "2025-02-15T22:15:10.316Z"
}