other
- userId
-
Aylin Sanford @aylin.sanford
- label
- other
- recipient
- Cristina Bartoletti
- street1
- 7871 Smith Estate
- street2
- Suite 481
- city
- Daly City
- region
- Georgia
- postalCode
- 80640-1862
- countryAlpha2
- TH
- isDefault
- false
- createdAt
Overview
addresses / #236
other
#236
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/236" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/236" ); 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/236"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/236"
)
addresse = res.json() Response
{
"id": 236,
"userId": 173,
"label": "other",
"recipient": "Cristina Bartoletti",
"street1": "7871 Smith Estate",
"street2": "Suite 481",
"city": "Daly City",
"region": "Georgia",
"postalCode": "80640-1862",
"countryAlpha2": "TH",
"isDefault": false,
"createdAt": "2025-01-13T00:36:12.275Z"
}