other
- userId
-
Lazaro Herzog @lazaro_herzog
- label
- other
- recipient
- Mack Wehner
- street1
- 92968 Daron Overpass
- street2
- Suite 274
- city
- Mount Pleasant
- region
- Maine
- postalCode
- 48284
- countryAlpha2
- ES
- isDefault
- true
- createdAt
Overview
addresses / #240
other
#240
Request
curl example
curl -sS \ "https://example-data.com/api/v1/addresses/240" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/addresses/240" ); 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/240"
);
const address = (await res.json()) as Address; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/addresses/240"
)
addresse = res.json() Response
{
"id": 240,
"userId": 181,
"label": "other",
"recipient": "Mack Wehner",
"street1": "92968 Daron Overpass",
"street2": "Suite 274",
"city": "Mount Pleasant",
"region": "Maine",
"postalCode": "48284",
"countryAlpha2": "ES",
"isDefault": true,
"createdAt": "2024-09-06T16:20:48.494Z"
}